bugfix
[squirrelmail.git] / src / login.php
index df1a1b9a54103b67a6d15f5d110f9836f406f79f..4f6242bf03caf010cef520eb14678771a46ff883 100644 (file)
@@ -125,11 +125,10 @@ if ($rcptaddress != '') {
     $rcptaddress_input = '<input type="hidden" name="rcptemail" value="htmlspecialchars(' . $rcptaddress . ')">';
 }
 
     $rcptaddress_input = '<input type="hidden" name="rcptemail" value="htmlspecialchars(' . $rcptaddress . ')">';
 }
 
-echo
+echo "\n" . '<form action="redirect.php" method="post">' . "\n" .
 html_tag( 'table',
     html_tag( 'tr',
         html_tag( 'td',
 html_tag( 'table',
     html_tag( 'tr',
         html_tag( 'td',
-            "\n" . '<form action="redirect.php" method="post">' . "\n" .
             '<center>'.
             '<img src="' . $org_logo . '" alt="' . sprintf(_("%s Logo"), $org_name) .'"' .
             $width_and_height .'><br>' . "\n".
             '<center>'.
             '<img src="' . $org_logo . '" alt="' . sprintf(_("%s Logo"), $org_name) .'"' .
             $width_and_height .'><br>' . "\n".
@@ -137,13 +136,12 @@ html_tag( 'table',
             '<small>' . sprintf (_("SquirrelMail version %s"), $version) . '<br>' ."\n".
             '  ' . _("By the SquirrelMail Development Team") . '<br></small>' . "\n" ) .
             "<br>\n" .
             '<small>' . sprintf (_("SquirrelMail version %s"), $version) . '<br>' ."\n".
             '  ' . _("By the SquirrelMail Development Team") . '<br></small>' . "\n" ) .
             "<br>\n" .
-
             html_tag( 'table',
                 html_tag( 'tr',
                     html_tag( 'td',
                         '<b>' . sprintf (_("%s Login"), $org_name) . "</b>\n",
             html_tag( 'table',
                 html_tag( 'tr',
                     html_tag( 'td',
                         '<b>' . sprintf (_("%s Login"), $org_name) . "</b>\n",
-                            'left', '#DCDCDC' )
-                    ) . "\n" .
+                    'center', '#DCDCDC' )
+                ) .
                 html_tag( 'tr',
                     html_tag( 'td',  "\n" .
                         html_tag( 'table',
                 html_tag( 'tr',
                     html_tag( 'td',  "\n" .
                         html_tag( 'table',
@@ -166,19 +164,19 @@ html_tag( 'table',
                                     $rcptaddress_input . "\n" ,
                                 'left', '', 'width="*"' )
                             ) ,
                                     $rcptaddress_input . "\n" ,
                                 'left', '', 'width="*"' )
                             ) ,
-                        '', '', '', 'border="0" cols="2" width="100%"' ) ,
+                        'center', '#ffffff', 'border="0" cols="2" width="100%"' ) ,
                     'left', '#FFFFFF' )
                     'left', '#FFFFFF' )
-                ) . "\n" .
+                ) . 
                 html_tag( 'tr',
                     html_tag( 'td',
                         '<center><input type="submit" value="' . _("Login") . '"></center>',
                     'left' )
                 html_tag( 'tr',
                     html_tag( 'td',
                         '<center><input type="submit" value="' . _("Login") . '"></center>',
                     'left' )
-                ) . "\n" ,
-            '', '', 'border="0" cols="1" width="350"' ) .
-            '</form>' . "\n",
-        'left' )
+                ),
+            '', '#ffffff', 'border="0" cols="1" width="350"' ),
+        'center' )
     ) ,
     ) ,
-'', '', 'border="0" cellspacing="0" cellpadding="0" width="100%"' );
+'', '#ffffff', 'border="0" cellspacing="0" cellpadding="0" width="100%"' ) .
+'</form>' . "\n";
 
 do_hook('login_form');
 
 
 do_hook('login_form');