From: Chad Horohoe Date: Thu, 7 Jul 2011 16:52:47 +0000 (+0000) Subject: Reduce some duplication X-Git-Tag: 1.31.0-rc.0~29014 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=5b67b14b5fb8d68bb0ab2c1db0206a10eb9fadea;p=lhc%2Fweb%2Fwiklou.git Reduce some duplication --- diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index 443cf5ab40..9eb2c2c6a5 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -113,11 +113,11 @@ class WebInstallerOutput { } /** - * URL for index.php?css=foobar + * to index.php?css=foobar for the * @return String */ private function getCssUrl( ) { - return $_SERVER['PHP_SELF'] . '?css=' . $this->getDir(); + return Html::linkedStyle( $_SERVER['PHP_SELF'] . '?css=' . $this->getDir() ); } public function useShortHeader( $use = true ) { @@ -206,7 +206,7 @@ class WebInstallerOutput { <?php $this->outputTitle(); ?> - getCssUrl() ) . "\n"; ?> + getCssUrl() . "\n"; ?> getJQuery() . "\n"; ?> @@ -260,7 +260,7 @@ class WebInstallerOutput { <?php $this->outputTitle(); ?> - getCssUrl() ) . "\n"; ?> + getCssUrl() . "\n"; ?> getJQuery(); ?>