From: Alexandre Emsenhuber Date: Tue, 9 Jun 2009 12:34:09 +0000 (+0000) Subject: added tabs and new lines for better source readability X-Git-Tag: 1.31.0-rc.0~41436 X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=commitdiff_plain;h=804d0b7d74c87fc5dd76173a7d979b67d3e1a585;p=lhc%2Fweb%2Fwiklou.git added tabs and new lines for better source readability --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 37b1b441c6..d0644a7d18 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -93,7 +93,7 @@ class OutputPage { array_push( $this->mKeywords, $text ); } } - function addScript( $script ) { $this->mScripts .= "\t\t".$script; } + function addScript( $script ) { $this->mScripts .= "\t\t" . $script . "\n"; } function addExtensionStyle( $url ) { $linkarr = array( 'rel' => 'stylesheet', 'href' => $url, 'type' => 'text/css' ); @@ -128,7 +128,7 @@ class OutputPage { */ function addInlineScript( $script ) { global $wgJsMimeType; - $this->mScripts .= ""; + $this->mScripts .= "\t\t\n"; } function getScript() {