r39189 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39188‎ | r39189 | r39190 >
Date:23:03, 11 August 2008
Author:aaron
Status:old
Tags:
Comment:
Add some ids/names (bug 13899)
Modified paths:
  • /trunk/extensions/CheckUser/CheckUser_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/CheckUser_body.php
@@ -123,7 +123,7 @@
124124 wfMsg( 'checkuser-summary' ) .
125125 "\n\n[[" . $this->getLogSubpageTitle()->getPrefixedText() . '|' . wfMsg( 'checkuser-showlog' ) . ']]'
126126 );
127 - $form = "<form name='checkuser' action='$action' method='post'>";
 127+ $form = "<form name='checkuserform' id='checkuserform' action='$action' method='post'>";
128128 $form .= "<fieldset><legend>".wfMsgHtml( "checkuser-query" )."</legend>";
129129 $form .= "<table border='0' cellpadding='2'><tr>";
130130 $form .= "<td>".wfMsgHtml( "checkuser-target" ).":</td>";
@@ -140,7 +140,8 @@
141141 $form .= "</tr><tr>";
142142 $form .= "<td>".wfMsgHtml( "checkuser-reason" ).":</td>";
143143 $form .= "<td>".Xml::input( 'reason', 46, $reason, array( 'maxlength' => '150', 'id' => 'checkreason' ) );
144 - $form .= "&nbsp; &nbsp;".Xml::submitButton( wfMsgHtml( 'checkuser-check' ) )."</td>";
 144+ $form .= "&nbsp; &nbsp;".Xml::submitButton( wfMsgHtml('checkuser-check'),
 145+ array('id' => 'checkusersubmit','name' => 'checkusersubmit') )."</td>";
145146 $form .= "</tr></table></fieldset></form>";
146147 # Output form
147148 $wgOut->addHTML( $form );

Status & tagging log