Display warning when magic_quotes_gpc=off _and_ register_globals=on -- tidyup wordwrap and center it proper.
This commit is contained in:
+1
-1
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -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'] = '<strong>Security Warning</strong>: to operate securely, Moodle requires that you make certain changes to your current PHP settings. You <em>must</em> set <code>magic_quotes_gpc=on</code>. If possible, you should also set <code>register_globals=off</code> to improve security. These settings are controlled editing your <code>php.ini</code>, Apache/IIS configuration or <code>.htaccess</code> file.';
|
||||
$string['globalsquoteswarning'] = '<strong>Security Warning</strong>: to operate securely, Moodle requires <br />that you make certain changes to your current PHP settings. <br />You <em>must</em> set <code>magic_quotes_gpc=on</code>. If possible, you should <br />also set <code>register_globals=off</code> to improve security. These <br />settings are controlled editing your <code>php.ini</code>, Apache/IIS <br />configuration or <code>.htaccess</code> 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.';
|
||||
|
||||
Reference in New Issue
Block a user