//ok, let's run the scripts!
$db_installed = $install->executeScripts($zdb);
-?>
- <div class="ui segment">
- <div class="content field">
- <div class="ui text container">
-<?php
+
if ($db_installed === false) {
$msg = _T("Database has not been installed!");
if ($install->isUpgrade()) {
echo '<p class="ui green message">' . $msg . '</p>';
}
?>
- <ul class="leaders">
+ <ul class="leaders">
<?php
foreach ($install->getDbInstallReport() as $r) {
?>
- <li>
- <span><?php echo $r['message']; ?></span>
- <span><?php echo $install->getValidationImage($r['res']); ?></span>
- </li>
+ <li>
+ <span><?php echo $r['message']; ?></span>
+ <span><?php echo $install->getValidationImage($r['res']); ?></span>
+ </li>
<?php
}
?>
- </ul>
- </div>
- </div>
- </div>
+ </ul>
+
+ <div class="ui section divider"></div>
- <form action="installer.php" method="POST" class="ui form">
- <div class="ui mobile tablet computer reversed equal width grid">
- <div class="right aligned column">
+ <form action="installer.php" method="POST" class="ui form">
+ <div class="ui mobile reversed tablet reversed computer reversed equal width grid">
+ <div class="right aligned column">
<?php
if (!$db_installed) {
?>
- <button type="submit" class="ui right labeled icon button"><i class="redo alternate double right icon"></i> <?php echo _T("Retry"); ?></button>
+ <button type="submit" class="ui right labeled icon button"><i class="redo alternate double right icon"></i> <?php echo _T("Retry"); ?></button>
<?php
}
?>
- <button type="submit" class="ui right labeled icon button"<?php if (!$db_installed) { echo ' disabled="disabled"'; } ?>><i class="angle double right icon"></i> <?php echo _T("Next step"); ?></button>
+ <button type="submit" class="ui right labeled icon button"<?php if (!$db_installed) { echo ' disabled="disabled"'; } ?>><i class="angle double right icon"></i> <?php echo _T("Next step"); ?></button>
<?php
if ($db_installed) {
?>
- <input type="hidden" name="install_dbwrite_ok" value="1"/>
+ <input type="hidden" name="install_dbwrite_ok" value="1"/>
<?php
}
?>
- </div>
- <div class="left aligned column">
+ </div>
<?php
if (!$db_installed) {
//once DB is installed, that does not make sense to go back
-?>
- <button type="submit" id="btnback" name="stepback_btn" formnovalidate class="ui labeled icon button"><i class="angle double left icon"></i> <?php echo _T("Back"); ?></button>
-<?php
+ ?>
+ <div class="column">
+ <button type="submit" id="btnback" name="stepback_btn" formnovalidate class="ui labeled icon button"><i class="angle double left icon"></i> <?php echo _T("Back"); ?></button>
+ </div>
+ <?php
}
?>
- </div>
- </div>
- </form>
+ </div>
+ </form>