Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-28337 add parameters explanation in URL resource configuration

  • Loading branch information...
commit bdbb48efe944cf9de83cc9c0794dc7639218bc98 1 parent aede1fe
@skodak skodak authored
Showing with 4 additions and 2 deletions.
  1. +2 −1  mod/url/lang/en/url.php
  2. +2 −1  mod/url/mod_form.php
View
3  mod/url/lang/en/url.php
@@ -50,8 +50,9 @@
$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)';
View
3  mod/url/mod_form.php
@@ -108,7 +108,8 @@ function definition() {
//-------------------------------------------------------
$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;
Please sign in to comment.
Something went wrong with that request. Please try again.