Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php |
— | — | @@ -364,8 +364,8 @@ |
365 | 365 | 'action' => $this->getTitle()->getLocalUrl( array( 'action' => 'submit' ) ), |
366 | 366 | 'id' => 'mw-revdel-form-revisions' ) ) . |
367 | 367 | Xml::fieldset( wfMsg( 'revdelete-legend' ) ) . |
| 368 | + $this->buildCheckBoxes( $bitfields ) . |
368 | 369 | Xml::openElement( 'table' ) . |
369 | | - $this->buildCheckBoxes( $bitfields ) . |
370 | 370 | "<tr>\n" . |
371 | 371 | '<td class="mw-label">' . |
372 | 372 | Xml::label( wfMsg( 'revdelete-log' ), 'wpRevDeleteReasonList' ) . |
— | — | @@ -428,7 +428,7 @@ |
429 | 429 | * @return String: HTML |
430 | 430 | */ |
431 | 431 | protected function buildCheckBoxes( $bitfields ) { |
432 | | - $html = ''; |
| 432 | + $html = '<table>'; |
433 | 433 | // FIXME: all items checked for just one rev are checked, even if not set for the others |
434 | 434 | foreach( $this->checks as $item ) { |
435 | 435 | list( $message, $name, $field ) = $item; |
— | — | @@ -436,8 +436,9 @@ |
437 | 437 | if( $field == Revision::DELETED_RESTRICTED ) |
438 | 438 | $innerHTML = "<b>$innerHTML</b>"; |
439 | 439 | $line = Xml::tags( 'td', array( 'class' => 'mw-input' ), $innerHTML ); |
440 | | - $html .= '<tr><td></td>' . $line . "</tr>\n"; |
| 440 | + $html .= '<tr>' . $line . "</tr>\n"; |
441 | 441 | } |
| 442 | + $html .= '</table>'; |
442 | 443 | return $html; |
443 | 444 | } |
444 | 445 | |