diff --git a/mod/resource/lang/en/resource.php b/mod/resource/lang/en/resource.php index 3f19710038e..a65fcc567a5 100644 --- a/mod/resource/lang/en/resource.php +++ b/mod/resource/lang/en/resource.php @@ -51,7 +51,6 @@ $string['configpopupscrollbars'] = 'Should popup windows be scrollable by defaul $string['configpopupstatus'] = 'Should popup windows show the status bar by default?'; $string['configpopuptoolbar'] = 'Should popup windows show the tool bar by default?'; $string['configpopupwidth'] = 'What width should be the default width for new popup windows?'; -$string['configsecretphrase'] = 'This secret phrase is used to produce the encrypted code value that can be sent to some resources as a parameter. The encrypted code is produced by an md5 value of the current_users IP address concatenated with your secret phrase. ie code = md5(IP.secretphrase). This allows the destination resource to verify the connection for extra security.'; $string['configwebsearch'] = 'When adding a URL as a webpage or weblink, this location is offered as a site to help the user search for the URL they want.'; $string['configwindowsettings'] = 'This sets the default value for the Window settings pane in the form when adding some new resources. After the first time, this becomes an individual user preference.'; $string['contentheader'] = 'Content'; diff --git a/mod/url/settings.php b/mod/url/settings.php index 81704bf362d..862c429081c 100644 --- a/mod/url/settings.php +++ b/mod/url/settings.php @@ -44,7 +44,7 @@ if ($ADMIN->fulltree) { get_string('framesize', 'url'), get_string('configframesize', 'url'), 130, PARAM_INT)); $settings->add(new admin_setting_configcheckbox('url/requiremodintro', get_string('requiremodintro', 'admin'), get_string('configrequiremodintro', 'admin'), 1)); - $settings->add(new admin_setting_configpasswordunmask('secretphrase', get_string('password'), + $settings->add(new admin_setting_configpasswordunmask('url/secretphrase', get_string('password'), get_string('configsecretphrase', 'url'), '')); $settings->add(new admin_setting_configcheckbox('url/rolesinparams', get_string('rolesinparams', 'url'), get_string('configrolesinparams', 'url'), false));