From 0236a83ce9e3feab1fb90469f102aad15fe3bde7 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 5 Sep 2009 23:20:36 +0000 Subject: [PATCH] Move checkboxes back a bit --- includes/specials/SpecialRevisiondelete.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index b9f37449b2..94923788af 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -364,8 +364,8 @@ class SpecialRevisionDelete extends UnlistedSpecialPage { 'action' => $this->getTitle()->getLocalUrl( array( 'action' => 'submit' ) ), 'id' => 'mw-revdel-form-revisions' ) ) . Xml::fieldset( wfMsg( 'revdelete-legend' ) ) . - Xml::openElement( 'table' ) . $this->buildCheckBoxes( $bitfields ) . + Xml::openElement( 'table' ) . "\n" . '' . Xml::label( wfMsg( 'revdelete-log' ), 'wpRevDeleteReasonList' ) . @@ -428,7 +428,7 @@ class SpecialRevisionDelete extends UnlistedSpecialPage { * @return String: HTML */ protected function buildCheckBoxes( $bitfields ) { - $html = ''; + $html = ''; // FIXME: all items checked for just one rev are checked, even if not set for the others foreach( $this->checks as $item ) { list( $message, $name, $field ) = $item; @@ -436,8 +436,9 @@ class SpecialRevisionDelete extends UnlistedSpecialPage { if( $field == Revision::DELETED_RESTRICTED ) $innerHTML = "$innerHTML"; $line = Xml::tags( 'td', array( 'class' => 'mw-input' ), $innerHTML ); - $html .= '' . $line . "\n"; + $html .= '' . $line . "\n"; } + $html .= '
'; return $html; } -- 2.20.1