diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
commit | 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 (patch) | |
tree | 577a29fb579188d16003a209ce2a2e9c5b0aa2bd /includes/installer/WebInstallerOutput.php | |
parent | cacc939b34e315b85e2d72997811eb6677996cc1 (diff) |
Update to MediaWiki 1.21.1
Diffstat (limited to 'includes/installer/WebInstallerOutput.php')
-rw-r--r-- | includes/installer/WebInstallerOutput.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index f3166c25..d61d843f 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -104,7 +104,7 @@ class WebInstallerOutput { /** * Get the raw vector CSS, flipping if needed - * @param $dir String 'ltr' or 'rtl' + * @param string $dir 'ltr' or 'rtl' * @return String */ public function getCSS( $dir ) { @@ -157,7 +157,7 @@ class WebInstallerOutput { * "<link>" to index.php?css=foobar for the "<head>" * @return String */ - private function getCssUrl( ) { + private function getCssUrl() { return Html::linkedStyle( $_SERVER['PHP_SELF'] . '?css=' . $this->getDir() ); } @@ -219,7 +219,7 @@ class WebInstallerOutput { $dbTypes = $this->parent->getDBTypes(); $this->parent->request->response()->header( 'Content-Type: text/html; charset=utf-8' ); - if (!$this->allowFrames) { + if ( !$this->allowFrames ) { $this->parent->request->response()->header( 'X-Frame-Options: DENY' ); } if ( $this->redirectTarget ) { @@ -239,7 +239,7 @@ class WebInstallerOutput { <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title><?php $this->outputTitle(); ?></title> <?php echo $this->getCssUrl() . "\n"; ?> - <?php echo Html::inlineScript( "var dbTypes = " . Xml::encodeJsVar( $dbTypes ) ) . "\n"; ?> + <?php echo Html::inlineScript( "var dbTypes = " . Xml::encodeJsVar( $dbTypes ) ) . "\n"; ?> <?php echo $this->getJQuery() . "\n"; ?> <?php echo Html::linkedScript( '../skins/common/config.js' ) . "\n"; ?> </head> |