From 36c3fbe324d3a37d4e154c05de8afe1f58711fbf Mon Sep 17 00:00:00 2001 From: Martin Dougiamas Date: Thu, 8 Jul 2010 06:46:14 +0000 Subject: [PATCH] MDL-20069 Fixed a missing string --- mod/url/lang/en/url.php | 1 + mod/url/locallib.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/url/lang/en/url.php b/mod/url/lang/en/url.php index 00b4b420a6a..786a4d4835c 100644 --- a/mod/url/lang/en/url.php +++ b/mod/url/lang/en/url.php @@ -51,4 +51,5 @@ $string['printheadingexplain'] = 'Display URL name above content? Some display t $string['printintro'] = 'Display URL description'; $string['printintroexplain'] = 'Display URL description bellow content? Some display types may not display description even if enabled.'; $string['rolesinparams'] = 'Include role names in parameters'; +$string['serverurl'] = 'Server URL'; $string['urladministration'] = 'URL administration'; diff --git a/mod/url/locallib.php b/mod/url/locallib.php index 2a196bdc7e4..9d914324f02 100644 --- a/mod/url/locallib.php +++ b/mod/url/locallib.php @@ -347,7 +347,7 @@ function url_get_variable_options($config) { $options[get_string('miscellaneous')] = array( 'sitename' => get_string('fullsitename'), - 'serverurl' => get_string('serverurl', 'resource', (object)array('wwwroot'=>$CFG->wwwroot)), + 'serverurl' => get_string('serverurl', 'url'), 'currenttime' => get_string('time'), 'lang' => get_string('language'), );