MDL-22530 fixed regression in url module - missing encrypted parameter

This commit is contained in:
Petr Skoda 2010-05-20 17:33:56 +00:00
parent 443f642ed4
commit 2884fd8eeb
2 changed files with 1 additions and 2 deletions

View file

@ -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';

View file

@ -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));