I thought the hook login_form was supposed to be part of the <form> element.
[squirrelmail.git] / src / login.php
index d60f77d282b79b3f2dca0fa4198235cd14b5bd25..9fd1c6ab5180c5ded562ce0c59edfddd18c7b2f8 100644 (file)
@@ -136,10 +136,9 @@ html_tag( 'table',
             '', '#ffffff', 'border="0" width="350"' ) . '</center>',
         'center' )
     ) ,
             '', '#ffffff', 'border="0" width="350"' ) . '</center>',
         'center' )
     ) ,
-'', '#ffffff', 'border="0" cellspacing="0" cellpadding="0" width="100%"' ) .
-'</form>' . "\n";
-
+'', '#ffffff', 'border="0" cellspacing="0" cellpadding="0" width="100%"' );
 do_hook('login_form');
 do_hook('login_form');
+echo '</form>' . "\n";
 
 do_hook('login_bottom');
 echo "</body>\n".
 
 do_hook('login_bottom');
 echo "</body>\n".