From: Alexandre Emsenhuber Date: Tue, 15 Jul 2008 19:51:18 +0000 (+0000) Subject: Added some tabs in the generated html so that it is easier to read the element X-Git-Tag: 1.31.0-rc.0~46495 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=ef87866bf2d62137ae2bebc4b7b1419a19567ac3;p=lhc%2Fweb%2Fwiklou.git Added some tabs in the generated html so that it is easier to read the element --- diff --git a/includes/Skin.php b/includes/Skin.php index 248a9e3d62..c625814214 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -280,14 +280,14 @@ class Skin extends Linker { static function makeVariablesScript( $data ) { global $wgJsMimeType; - $r = "\n"; + $r[] = "/*]]>*/"; - return $r; + return implode( "\n\t\t", $r ); } /** diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index ae894cc98b..eb8e3b6636 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -1015,10 +1015,10 @@ class SkinTemplate extends Skin { # If we use any dynamic CSS, make a little CDATA block out of it. $s = ''; foreach( $stylesheets as $link ) { - $s .= "@import \"$link\";\n"; + $s .= "\t\t\t@import \"$link\";\n"; } $s .= $rawcss; - if( $s != '' ) $this->usercss = "/**/"; + if( $s != '' ) $this->usercss = "/**/"; wfProfileOut( __METHOD__ ); }