Skip to content
Snippets Groups Projects
Commit 63cc1688 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix layout bug in first run wizard

parent c52e7d36
Branches
No related tags found
No related merge requests found
...@@ -47,6 +47,7 @@ echo('<h1><a id="owncloud-logo" href="'.$WEBROOT.'"><span>ownCloud</span></a></h ...@@ -47,6 +47,7 @@ echo('<h1><a id="owncloud-logo" href="'.$WEBROOT.'"><span>ownCloud</span></a></h
if(!$CONFIG_INSTALLED) { if(!$CONFIG_INSTALLED) {
global $FIRSTRUN; global $FIRSTRUN;
$FIRSTRUN=true; $FIRSTRUN=true;
echo('</div><div class="body">');
echo('<div class="center">'); echo('<div class="center">');
echo('<p class="errortext">'.$error.'</p>'); echo('<p class="errortext">'.$error.'</p>');
echo('<p class="highlighttext">First Run Wizard</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 ...@@ -54,11 +55,7 @@ echo('<h1><a id="owncloud-logo" href="'.$WEBROOT.'"><span>ownCloud</span></a></h
echo('</div>'); echo('</div>');
OC_UTIL::showfooter(); OC_UTIL::showfooter();
exit(); exit();
} }elseif(!isset($_SESSION['username']) or $_SESSION['username']=='') { // show the loginform if not loggedin
// show the loginform if not loggedin
if(!isset($_SESSION['username']) or $_SESSION['username']=='') {
echo('<div class="center">'); echo('<div class="center">');
OC_UTIL::showloginform(); OC_UTIL::showloginform();
echo('</div>'); echo('</div>');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment