From: Aaron Schulz Date: Sat, 5 Sep 2009 23:20:36 +0000 (+0000) Subject: Move checkboxes back a bit X-Git-Tag: 1.31.0-rc.0~39902 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=0236a83ce9e3feab1fb90469f102aad15fe3bde7;p=lhc%2Fweb%2Fwiklou.git Move checkboxes back a bit --- 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; }