From: Siebrand Mazeland Date: Tue, 10 Feb 2009 23:58:16 +0000 (+0000) Subject: Remove some unneeded spaces in output X-Git-Tag: 1.31.0-rc.0~42939 X-Git-Url: https://git.cyclocoop.org/%20%27.%28%24debut%20%20%20%24par_page%29.%27?a=commitdiff_plain;h=7f1016dab846989593d073dd88d74af37494cea6;p=lhc%2Fweb%2Fwiklou.git Remove some unneeded spaces in output --- diff --git a/maintenance/language/StatOutputs.php b/maintenance/language/StatOutputs.php index f65b263e5d..b41278b4cf 100644 --- a/maintenance/language/StatOutputs.php +++ b/maintenance/language/StatOutputs.php @@ -48,7 +48,7 @@ class wikiStatsOutput extends statsOutput { echo ''; } function element( $in, $heading = false ) { - echo ($heading ? '!' : '|') . " $in\n"; + echo ($heading ? '!' : '|') . "$in\n"; } function formatPercent( $subset, $total, $revert = false, $accuracy = 2 ) { $v = @round(255 * $subset / $total); @@ -68,7 +68,7 @@ class wikiStatsOutput extends statsOutput { $color = $red . $green . $blue; $percent = statsOutput::formatPercent( $subset, $total, $revert, $accuracy ); - return 'bgcolor="#'. $color .'" | '. $percent; + return 'bgcolor="#'. $color .'"|'. $percent; } }