Index: trunk/extensions/CheckUser/CheckUser_body.php |
— | — | @@ -123,7 +123,7 @@ |
124 | 124 | wfMsg( 'checkuser-summary' ) . |
125 | 125 | "\n\n[[" . $this->getLogSubpageTitle()->getPrefixedText() . '|' . wfMsg( 'checkuser-showlog' ) . ']]' |
126 | 126 | ); |
127 | | - $form = "<form name='checkuser' action='$action' method='post'>"; |
| 127 | + $form = "<form name='checkuserform' id='checkuserform' action='$action' method='post'>"; |
128 | 128 | $form .= "<fieldset><legend>".wfMsgHtml( "checkuser-query" )."</legend>"; |
129 | 129 | $form .= "<table border='0' cellpadding='2'><tr>"; |
130 | 130 | $form .= "<td>".wfMsgHtml( "checkuser-target" ).":</td>"; |
— | — | @@ -140,7 +140,8 @@ |
141 | 141 | $form .= "</tr><tr>"; |
142 | 142 | $form .= "<td>".wfMsgHtml( "checkuser-reason" ).":</td>"; |
143 | 143 | $form .= "<td>".Xml::input( 'reason', 46, $reason, array( 'maxlength' => '150', 'id' => 'checkreason' ) ); |
144 | | - $form .= " ".Xml::submitButton( wfMsgHtml( 'checkuser-check' ) )."</td>"; |
| 144 | + $form .= " ".Xml::submitButton( wfMsgHtml('checkuser-check'), |
| 145 | + array('id' => 'checkusersubmit','name' => 'checkusersubmit') )."</td>"; |
145 | 146 | $form .= "</tr></table></fieldset></form>"; |
146 | 147 | # Output form |
147 | 148 | $wgOut->addHTML( $form ); |