MDL-39368 url: Renaming sections of the settings form

This commit is contained in:
Frederic Massart
2013-04-29 19:27:47 +08:00
parent bd45c1aa47
commit 9cf26d0890
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -57,10 +57,9 @@ Note that URLs can also be added to any other resource or activity type through
$string['modulename_link'] = 'mod/url/view';
$string['modulenameplural'] = 'URLs';
$string['neverseen'] = 'Never seen';
$string['optionsheader'] = 'Options';
$string['page-mod-url-x'] = 'Any URL module page';
$string['parameterinfo'] = '&parameter=variable';
$string['parametersheader'] = 'Parameters';
$string['parametersheader'] = 'URL variables';
$string['parametersheader_help'] = 'Some internal Moodle variables may be automatically appended to the URL. Type your name for the parameter into each text box(es) and then select the required matching variable.';
$string['pluginadministration'] = 'URL module administration';
$string['pluginname'] = 'URL';
+1 -1
View File
@@ -55,7 +55,7 @@ class mod_url_mod_form extends moodleform_mod {
$mform->setExpanded('content');
//-------------------------------------------------------
$mform->addElement('header', 'optionssection', get_string('optionsheader', 'url'));
$mform->addElement('header', 'optionssection', get_string('appearance'));
if ($this->current->instance) {
$options = resourcelib_get_displayoptions(explode(',', $config->displayoptions), $this->current->display);