From 63cc1688fea5d5b752368f59ed856158d40928f3 Mon Sep 17 00:00:00 2001
From: Robin <robin@Amaya.(none)>
Date: Sat, 1 May 2010 23:57:35 +0200
Subject: [PATCH] fix layout bug in first run wizard

---
 inc/templates/header.php | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/inc/templates/header.php b/inc/templates/header.php
index 51e729cb8e..8661008d95 100755
--- a/inc/templates/header.php
+++ b/inc/templates/header.php
@@ -47,6 +47,7 @@ echo('<h1><a id="owncloud-logo" href="'.$WEBROOT.'"><span>ownCloud</span></a></h
   if(!$CONFIG_INSTALLED) {
     global $FIRSTRUN;
     $FIRSTRUN=true;
+    echo('</div><div class="body">');
     echo('<div class="center">');
     echo('<p class="errortext">'.$error.'</p>');
     echo('<p class="highlighttext">First Run Wizard</p>');
@@ -54,11 +55,7 @@ echo('<h1><a id="owncloud-logo" href="'.$WEBROOT.'"><span>ownCloud</span></a></h
     echo('</div>');
     OC_UTIL::showfooter();
     exit();
-  }
-
-
-  // show the loginform if not loggedin
-  if(!isset($_SESSION['username']) or $_SESSION['username']=='') {
+  }elseif(!isset($_SESSION['username']) or $_SESSION['username']=='') { // show the loginform if not loggedin
     echo('<div class="center">');
     OC_UTIL::showloginform();
     echo('</div>');
-- 
GitLab