wahlhelfer/setup/templates/importSQL.php
Klaus-Uwe Mitterer b384099d9b Restructuring a few things
Finally adding the setup files ._.
2016-02-07 23:16:32 +01:00

38 lines
No EOL
1 KiB
PHP
Executable file

<h3>Importing SQL</h3>
<p>Now we are importing the needed data into our database...</p>
<hr>
<?php if (count($errors) > 0) { ?>
<div class="error">Some errors occured while importing the SQL data!</div>
<ul>
<?php foreach ($errors as $error): ?>
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php } else { ?>
<div class="success">Data import succeeded!</div>
<?php } ?>
<hr>
<a href="index.php" class="button negative">
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
</a>
<?php if (count($errors) == 0) { ?>
<form method="post">
<input type="hidden" name="nextStep" value="done">
<button type="submit" class="button positive">
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Next
</button>
</form>
<?php } else { ?>
<form method="post">
<input type="hidden" name="nextStep" value="importSQL">
<button type="submit" class="button positive">
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Retry
</button>
</form>
<?php } ?>