Index: trunk/extensions/CheckUser/CheckUser_body.php |
— | — | @@ -163,10 +163,11 @@ |
164 | 164 | '|' . wfMsg( 'checkuser-showlog' ) . ']]' |
165 | 165 | ); |
166 | 166 | } |
167 | | - |
168 | | - $form = Xml::openElement( 'form', array ( 'action' => $action, 'name' => 'checkuserform', 'id' => 'checkuserform', 'method' => 'post' ) ); |
| 167 | + |
| 168 | + $form = Xml::openElement( 'form', array( 'action' => $action, |
| 169 | + 'name' => 'checkuserform', 'id' => 'checkuserform', 'method' => 'post' ) ); |
169 | 170 | $form .= '<fieldset><legend>' . wfMsgHtml( 'checkuser-query' ) . '</legend>'; |
170 | | - $form .= Xml::openElement( 'table', array( 'border' => '0', 'cellpadding' => '2' ) ); |
| 171 | + $form .= Xml::openElement( 'table', array( 'style' => 'border:0' ) ); |
171 | 172 | $form .= '<tr>'; |
172 | 173 | $form .= '<td>' . wfMsgHtml( 'checkuser-target' ) . '</td>'; |
173 | 174 | $form .= '<td>' . Xml::input( 'user', 46, $user, array( 'id' => 'checktarget' ) ); |
— | — | @@ -174,20 +175,30 @@ |
175 | 176 | $form .= '</tr><tr>'; |
176 | 177 | $form .= '<td></td>'; |
177 | 178 | $form .= Xml::openElement('td', array( 'class' => 'checkuserradios' ) ); |
178 | | - $form .= Xml::openElement( 'table', array( 'border' => '0', 'cellpadding' => '3' ) ); |
179 | | - $form .= '<tr><td>' . Xml::radio( 'checktype', 'subuserips', $encuserips, array( 'id' => 'subuserips' ) ); |
| 179 | + $form .= Xml::openElement( 'table', array( 'style' => 'border:0' ) ); |
| 180 | + $form .= '<tr>'; |
| 181 | + $form .= '<td>' . |
| 182 | + Xml::radio( 'checktype', 'subuserips', $encuserips, array( 'id' => 'subuserips' ) ); |
180 | 183 | $form .= ' ' . Xml::label( wfMsg( 'checkuser-ips' ), 'subuserips' ) . '</td>'; |
181 | | - $form .= '<td>' . Xml::radio( 'checktype', 'subedits', $encedits, array( 'id' => 'subedits' ) ); |
| 184 | + $form .= '<td>' . |
| 185 | + Xml::radio( 'checktype', 'subedits', $encedits, array( 'id' => 'subedits' ) ); |
182 | 186 | $form .= ' ' . Xml::label( wfMsg( 'checkuser-edits' ), 'subedits' ) . '</td>'; |
183 | | - $form .= '<td>' . Xml::radio( 'checktype', 'subipusers', $encipusers, array( 'id' => 'subipusers' ) ); |
| 187 | + $form .= '<td>' . |
| 188 | + Xml::radio( 'checktype', 'subipusers', $encipusers, array( 'id' => 'subipusers' ) ); |
184 | 189 | $form .= ' ' . Xml::label( wfMsg( 'checkuser-users' ), 'subipusers' ) . '</td>'; |
185 | | - $form .= '</tr></table></td>'; |
| 190 | + $form .= '</tr>'; |
| 191 | + $form .= Xml::closeElement( 'table' ); |
| 192 | + $form .= Xml::closeElement( 'td' ); |
186 | 193 | $form .= '</tr><tr>'; |
187 | 194 | $form .= '<td>' . wfMsgHtml( 'checkuser-reason' ) . '</td>'; |
188 | | - $form .= '<td>' . Xml::input( 'reason', 46, $reason, array( 'maxlength' => '150', 'id' => 'checkreason' ) ); |
| 195 | + $form .= '<td>' . Xml::input( 'reason', 46, $reason, |
| 196 | + array( 'maxlength' => '150', 'id' => 'checkreason' ) ); |
189 | 197 | $form .= '   ' . Xml::submitButton( wfMsg( 'checkuser-check' ), |
190 | 198 | array( 'id' => 'checkusersubmit', 'name' => 'checkusersubmit' ) ) . '</td>'; |
191 | | - $form .= '</tr></table></fieldset></form>'; |
| 199 | + $form .= '</tr>'; |
| 200 | + $form .= Xml::closeElement( 'table' ); |
| 201 | + $form .= '</fieldset>'; |
| 202 | + $form .= Xml::closeElement( 'form' ); |
192 | 203 | # Output form |
193 | 204 | $wgOut->addHTML( $form ); |
194 | 205 | } |