Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -547,6 +547,11 @@ |
548 | 548 | visibility: hidden; |
549 | 549 | } |
550 | 550 | |
| 551 | +td.mw-revdel-checkbox, th.mw-revdel-checkbox { |
| 552 | + padding-right: 10px; |
| 553 | + text-align: center; |
| 554 | +} |
| 555 | + |
551 | 556 | /* feed links */ |
552 | 557 | a.feedlink { |
553 | 558 | background: url("images/feed-icon.png") center left no-repeat; |
Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php |
— | — | @@ -441,7 +441,7 @@ |
442 | 442 | */ |
443 | 443 | protected function buildCheckBoxes() { |
444 | 444 | global $wgRequest; |
445 | | - |
| 445 | + |
446 | 446 | $html = '<table>'; |
447 | 447 | // If there is just one item, use checkboxes |
448 | 448 | $list = $this->getList(); |
— | — | @@ -462,10 +462,10 @@ |
463 | 463 | // Otherwise, use tri-state radios |
464 | 464 | } else { |
465 | 465 | $html .= '<tr>'; |
466 | | - $html .= '<th>'.wfMsgHtml('revdelete-radio-same').'</th><th> </th>'; |
467 | | - $html .= '<th>'.wfMsgHtml('revdelete-radio-unset').'</th><th> </th>'; |
468 | | - $html .= '<th>'.wfMsgHtml('revdelete-radio-set').'</th><th> </th>'; |
469 | | - $html .= '<th></th></tr>'; |
| 466 | + $html .= '<th class="mw-revdel-checkbox">'.wfMsgHtml('revdelete-radio-same').'</th>'; |
| 467 | + $html .= '<th class="mw-revdel-checkbox">'.wfMsgHtml('revdelete-radio-unset').'</th>'; |
| 468 | + $html .= '<th class="mw-revdel-checkbox">'.wfMsgHtml('revdelete-radio-set').'</th>'; |
| 469 | + $html .= "<th></th></tr>\n"; |
470 | 470 | foreach( $this->checks as $item ) { |
471 | 471 | list( $message, $name, $field ) = $item; |
472 | 472 | // If there are several items, use third state by default... |
— | — | @@ -474,9 +474,9 @@ |
475 | 475 | } else { |
476 | 476 | $selected = -1; // use existing field |
477 | 477 | } |
478 | | - $line = '<td>' . Xml::radio( $name, -1, $selected == -1 ) . '</td><td> </td>'; |
479 | | - $line .= '<td>' . Xml::radio( $name, 0, $selected == 0 ) . '</td><td> </td>'; |
480 | | - $line .= '<td>' . Xml::radio( $name, 1, $selected == 1 ) . '</td><td> </td>'; |
| 478 | + $line = '<td class="mw-revdel-checkbox">' . Xml::radio( $name, -1, $selected == -1 ) . '</td>'; |
| 479 | + $line .= '<td class="mw-revdel-checkbox">' . Xml::radio( $name, 0, $selected == 0 ) . '</td>'; |
| 480 | + $line .= '<td class="mw-revdel-checkbox">' . Xml::radio( $name, 1, $selected == 1 ) . '</td>'; |
481 | 481 | $label = wfMsgHtml($message); |
482 | 482 | if( $field == Revision::DELETED_RESTRICTED ) { |
483 | 483 | $label = "<b>$label</b>"; |