From: Santhosh Thottingal Date: Wed, 4 Jan 2012 09:06:05 +0000 (+0000) Subject: Stylize. X-Git-Tag: 1.31.0-rc.0~25555 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=1fb1fae9a2592edd585298b9e42c69b68140077e;p=lhc%2Fweb%2Fwiklou.git Stylize. --- diff --git a/languages/Language.php b/languages/Language.php index 691c43b453..56367dbf7a 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2742,7 +2742,7 @@ class Language { if ( intval( $_ ) < 0 ) { // For negative numbers apply the algorithm like positive number and add sign. $sign = "-"; - $_ = substr( $_,1 ); + $_ = substr( $_, 1 ); } $numberpart = array(); $decimalpart = array(); @@ -3902,7 +3902,7 @@ class Language { # Make 'previous' link $prev = wfMessage( 'prevn' )->inLanguage( $this )->title( $title )->numParams( $limit )->text(); - if( $offset > 0 ) { + if ( $offset > 0 ) { $plink = $this->numLink( $title, max( $offset - $limit, 0 ), $limit, $query, $prev, 'prevn-title', 'mw-prevlink' ); } else { @@ -3911,7 +3911,7 @@ class Language { # Make 'next' link $next = wfMessage( 'nextn' )->inLanguage( $this )->title( $title )->numParams( $limit )->text(); - if( $atend ) { + if ( $atend ) { $nlink = htmlspecialchars( $next ); } else { $nlink = $this->numLink( $title, $offset + $limit, $limit, @@ -3920,7 +3920,7 @@ class Language { # Make links to set number of items per page $numLinks = array(); - foreach( array( 20, 50, 100, 250, 500 ) as $num ) { + foreach ( array( 20, 50, 100, 250, 500 ) as $num ) { $numLinks[] = $this->numLink( $title, $offset, $num, $query, $this->formatNum( $num ), 'shown-title', 'mw-numlink' ); }