diff --git a/admin/index.php b/admin/index.php index 956b50ee9a5..8927be3ade1 100644 --- a/admin/index.php +++ b/admin/index.php @@ -320,7 +320,7 @@ } if (ini_get_bool('register_globals') && !ini_get_bool('magic_quotes_gpc')) { - print_simple_box(get_string('globalsquoteswarning', 'admin', 'center')); + print_simple_box(get_string('globalsquoteswarning', 'admin'), 'center'); } diff --git a/lang/en/admin.php b/lang/en/admin.php index 9a0cd908b1e..a99e0e61148 100755 --- a/lang/en/admin.php +++ b/lang/en/admin.php @@ -97,7 +97,7 @@ $string['edithelpdocs'] = 'Edit help documents'; $string['editstrings'] = 'Edit strings'; $string['filterall'] = 'Filter all strings'; $string['filteruploadedfiles'] = 'Filter uploaded files'; -$string['globalsquoteswarning'] = 'Security Warning: to operate securely, Moodle requires that you make certain changes to your current PHP settings. You must set magic_quotes_gpc=on. If possible, you should also set register_globals=off to improve security. These settings are controlled editing your php.ini, Apache/IIS configuration or .htaccess file.'; +$string['globalsquoteswarning'] = 'Security Warning: to operate securely, Moodle requires
that you make certain changes to your current PHP settings.
You must set magic_quotes_gpc=on. If possible, you should
also set register_globals=off to improve security. These
settings are controlled editing your php.ini, Apache/IIS
configuration or .htaccess file.'; $string['helpadminseesall'] = 'Do admins see all calendar events or just those that apply to themselves?'; $string['helpcalendarsettings'] = 'Configure various calendar and date/time-related aspects of Moodle'; $string['helpforcetimezone'] = 'You can allow users to individually select their timezone, or force a timezone for everyone.';