]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix layout bug in first run wizard
authorRobin <robin@Amaya.(none)>
Sat, 1 May 2010 21:57:35 +0000 (23:57 +0200)
committerRobin <robin@Amaya.(none)>
Sat, 1 May 2010 21:57:35 +0000 (23:57 +0200)
inc/templates/header.php

index 51e729cb8e18169820f8b68b0d09250de183b526..8661008d95f2fc20ecfb22657dc494b98b22cab7 100755 (executable)
@@ -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>');