Don't auto-focus on compose form when user has already focused somewhere manually...
[squirrelmail.git] / src / login.php
index 4e83354c10abe302f93c41cbbbf64957f7374ede..88b43680bd0a04fe907185a92495ff2fccc650c7 100644 (file)
@@ -185,7 +185,8 @@ echo html_tag( 'table',
                                     $rcptaddress .
                                     addHidden('just_logged_in', '1'),
                                     'left', '', 'width="*"' )
-                                ) ,
+                                ) .
+                                concat_hook_function('login_form') ,
                             'center', $color[4], 'border="0" width="100%"' ) ,
                         'left', $color[4] )
                         ) .
@@ -198,7 +199,6 @@ echo html_tag( 'table',
                         'center' )
                         ) ,
                         '', $color[4], 'border="0" cellspacing="0" cellpadding="0" width="100%"' );
-do_hook('login_form');
 echo '</form>' . "\n";
 
 do_hook('login_bottom');