From: Niklas Laxström Date: Sun, 31 Jul 2005 19:35:52 +0000 (+0000) Subject: Removed some nonsense and fixed ugly HTML X-Git-Tag: 1.6.0~2097 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=f43c4521fc88b4a75f4fc67c6d08624a6fbf7282;p=lhc%2Fweb%2Fwiklou.git Removed some nonsense and fixed ugly HTML --- diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index 56f48fcc42..d254b333f3 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -271,12 +271,12 @@ function wfSpecialWatchlist( $par ) { $s = $sk->makeKnownLink( $wgContLang->specialPage( 'Watchlist' ), (0 == $hideOwn) ? wfMsgHtml( 'wlhide' ) : wfMsgHtml( 'wlshow' ), - wfArrayToCGI( array('hideOwn' => $wgLang->formatNum( 1-$hideOwn )), $nondefaults ) ); + wfArrayToCGI( array('hideOwn' => 1-$hideOwn ), $nondefaults ) ); $wgOut->addHTML( wfMsgHtml( "wlhideshowown", $s ) ); if ( $numRows == 0 ) { - $wgOut->addWikitext( "
\n" . wfMsg( 'watchnochange' ), false ); + $wgOut->addWikitext( "
" . wfMsg( 'watchnochange' ), false ); $wgOut->addHTML( "

\n" ); return; } @@ -342,8 +342,7 @@ function wlDaysLink( $d, $page, $options = array() ) { return $s; } -function wlCutoffLinks( $days, $page = 'Watchlist', $options = array() ) -{ +function wlCutoffLinks( $days, $page = 'Watchlist', $options = array() ) { $hours = array( 1, 2, 6, 12 ); $days = array( 1, 3, 7 ); $cl = '';