Add close elements through code
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 8 Oct 2013 16:33:06 +0000 (18:33 +0200)
committerSiebrand <siebrand@wikimedia.org>
Thu, 7 Nov 2013 17:30:36 +0000 (17:30 +0000)
Change-Id: I517221ebcc062477f315c6716e74056c754988a0

includes/installer/WebInstallerOutput.php
includes/installer/WebInstallerPage.php

index f2dc37f..6178e5b 100644 (file)
@@ -294,9 +294,8 @@ class WebInstallerOutput {
 
        public function outputFooter() {
                if ( $this->useShortHeader ) {
-?>
-</body></html>
-<?php
+                       echo Html::closeElement( 'body' ) . Html::closeElement( 'html' );
+
                        return;
                }
 ?>
@@ -317,9 +316,8 @@ class WebInstallerOutput {
        </div></div>
 </div>
 
-</body>
-</html>
 <?php
+               echo Html::closeElement( 'body' ) . Html::closeElement( 'html' );
        }
 
        public function outputShortHeader() {
index e30373e..1c95d9a 100644 (file)
@@ -185,7 +185,6 @@ abstract class WebInstallerPage {
 }
 
 class WebInstaller_Language extends WebInstallerPage {
-
        public function execute() {
                global $wgLang;
                $r = $this->parent->request;