Преглед изворни кода

I thought the hook login_form was supposed to be part of the <form> element.
As it was, it was outside... this corrects it... Should make things like the
login_auto plugin work now a little better too :P

jangliss пре 22 година
родитељ
комит
f1e8de0fd5
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      src/login.php

+ 2 - 3
src/login.php

@@ -136,10 +136,9 @@ html_tag( 'table',
             '', '#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');
+echo '</form>' . "\n";
 
 do_hook('login_bottom');
 echo "</body>\n".