X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fredirect.php;h=9342711f6b729fa9b85d10104f19d1308ff89b4a;hp=81373976b85224e343055e3dce10e83b45e7eab8;hb=5cc0b70e9e4f72b5ebcc3e3cea1b3ca510a92718;hpb=4d2c9f705592bd76b10ba4ffa02aa51da117e976 diff --git a/src/redirect.php b/src/redirect.php index 81373976..9342711f 100644 --- a/src/redirect.php +++ b/src/redirect.php @@ -25,10 +25,10 @@ require_once('../functions/page_header.php'); if (get_magic_quotes_gpc()) { global $REQUEST_METHOD; - if ($REQUEST_METHOD == "POST") { + if ($REQUEST_METHOD == 'POST') { global $HTTP_POST_VARS; RemoveSlashes($HTTP_POST_VARS); - } else if ($REQUEST_METHOD == "GET") { + } else if ($REQUEST_METHOD == 'GET') { global $HTTP_GET_VARS; RemoveSlashes($HTTP_GET_VARS); } @@ -59,10 +59,10 @@ setcookie('squirrelmail_language', $squirrelmail_language, time()+2592000,$base_ if (!isset($login_username)) { displayHtmlHeader( _("You must be logged in to access this page.") ); echo "\n" . - "
 
\n" . + " 

\n" . "

\n" . '' . _("You must be logged in to access this page.") . "
" . - '' . _("Go to the login page") . "\n" . + "" . _("Go to the login page") . "\n" . "
\n" . "\n"; exit;