mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-28337 add parameters explanation in URL resource configuration
This commit is contained in:
parent
6884b598f3
commit
f08e5e984a
@ -50,8 +50,9 @@ $string['modulenameplural'] = 'URLs';
|
||||
$string['neverseen'] = 'Never seen';
|
||||
$string['optionsheader'] = 'Options';
|
||||
$string['page-mod-url-x'] = 'Any URL module page';
|
||||
$string['parameterinfo'] = 'parameter=variable';
|
||||
$string['parameterinfo'] = '&parameter=variable';
|
||||
$string['parametersheader'] = 'Parameters';
|
||||
$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';
|
||||
$string['popupheight'] = 'Popup height (in pixels)';
|
||||
|
@ -108,7 +108,8 @@ class mod_url_mod_form extends moodleform_mod {
|
||||
|
||||
//-------------------------------------------------------
|
||||
$mform->addElement('header', 'parameterssection', get_string('parametersheader', 'url'));
|
||||
|
||||
$mform->addElement('static', 'parametersinfo', '', get_string('parametersheader_help', 'url'));
|
||||
$mform->setAdvanced('parametersinfo');
|
||||
|
||||
if (empty($this->current->parameters)) {
|
||||
$parcount = 5;
|
||||
|
Loading…
x
Reference in New Issue
Block a user