Moved opening form tag up before login_top hook so plugins like password_forget will...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 16 Mar 2003 22:25:10 +0000 (22:25 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 16 Mar 2003 22:25:10 +0000 (22:25 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4661 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/login.php

index 9d5fbcc6a276ad8cdca15b95663e9a86b171385b..fb004cacb48996f3472a0488a8e286adcb9d5d76 100644 (file)
@@ -72,7 +72,8 @@ $header = "<script language=\"JavaScript\" type=\"text/javascript\">\n" .
 $custom_css = 'none';          
 displayHtmlHeader( "$org_name - " . _("Login"), $header, FALSE );
 
-echo '<body text="#000000" bgcolor="#FFFFFF" link="#0000CC" vlink="#0000CC" alink="#0000CC" onload="squirrelmail_loginpage_onload();">';
+echo '<body text="#000000" bgcolor="#FFFFFF" link="#0000CC" vlink="#0000CC" alink="#0000CC" onload="squirrelmail_loginpage_onload();">' .
+     "\n" . '<form action="redirect.php" method="post">' . "\n";
 
 $username_form_name = 'login_username';
 $password_form_name = 'secretkey';
@@ -106,8 +107,7 @@ if (check_php_version(4,3) and !isset($shootMyFootOff)) {
     echo "\n";
 }
 
-echo "\n" . '<form action="redirect.php" method="post">' . "\n" .
-html_tag( 'table',
+echo html_tag( 'table',
     html_tag( 'tr',
         html_tag( 'td',
             '<center>'.