浏览代码

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