Move status box below output from pass/fail
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 9 Jul 2010 18:36:10 +0000 (18:36 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 9 Jul 2010 18:36:10 +0000 (18:36 +0000)
includes/installer/WebInstaller.php

index 9ab7fdc..66e9d45 100644 (file)
@@ -1601,10 +1601,12 @@ class WebInstaller_Install extends WebInstallerPage {
                $msg = $success ? 'config-install-step-done' : 'config-install-step-failed';
                $html = wfMsgHtml( 'word-separator' ) . wfMsgHtml( $msg );
                if ( !$success ) {
-                       $this->parent->showStatusBox( $status );
                        $html = "<span class=\"error\">$html</span>";
                }
                $this->addHTML( $html . "</li>\n" );
+               if( !$success ) {
+                       $this->parent->showStatusBox( $status );
+               }
        }
 }