I thought the hook login_form was supposed to be part of the <form> element.
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 14 Jan 2003 07:31:04 +0000 (07:31 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 14 Jan 2003 07:31:04 +0000 (07:31 +0000)
As it was, it was outside... this corrects it... Should make things like the
login_auto plugin work now a little better too :P

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4416 7612ce4b-ef26-0410-bec9-ea0150e637f0

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".