From: Brion Vibber Date: Wed, 2 Jul 2008 02:31:05 +0000 (+0000) Subject: Revert r36523 -- removal of the fieldset made Recentchanges/Recentchangeslinked very... X-Git-Tag: 1.31.0-rc.0~46813 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=53f9fe221d3cc7ebcbac70649f8974f1a74758af;p=lhc%2Fweb%2Fwiklou.git Revert r36523 -- removal of the fieldset made Recentchanges/Recentchangeslinked very ugly! Options were in a table, which ended up showing white background without the fieldset (some sites use a light blue background for specials). Generally everything just ran together, making it hard to visually distinguish the bits of the page. It's looking much better with the set restored... --- diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index 535dab2e98..fc1578fc78 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -123,6 +123,7 @@ class SpecialRecentChanges extends SpecialPage { $batch->execute(); $this->webOutput( $rows, $opts ); } + } /** @@ -407,6 +408,7 @@ class SpecialRecentChanges extends SpecialPage { $panel = array(); $panel[] = $this->optionsPanel( $defaults, $nondefaults ); + $panel[] = '
'; $extraOpts = $this->getExtraOptions( $opts ); @@ -434,7 +436,9 @@ class SpecialRecentChanges extends SpecialPage { $panel[] = $form; $panelString = implode( "\n", $panel ); - $wgOut->addHTML( '
' . $panelString . '
' ); + $wgOut->addHTML( + Xml::fieldset( wfMsg( 'recentchanges' ), $panelString, array( 'class' => 'rcoptions' ) ) + ); $this->setBottomText( $wgOut, $opts ); }