<h1><?php print _('Erase data for a clean install') ?></h1>
<?php if (empty($templateData['errors'])): ?>
<p>
<?php print _("Are you really sure you want to delete all your data in your Gallery storage directory and all your data in your Gallery database?") ?>
</p>
<?php else: ?>
<div class="error">
<h2>
<?php print _("There was an error erasing the db and storage directory data. Here's the error:") ?>
</h2>
</div>
<div>
<?php print $templateData['errors'] ?>
</div>
<?php endif; ?>
<div class="go">
<a href="<?php generateUrl(sprintf('%s?step=%s', INDEX_PHP, $currentStep->getStepNumber())) ?>" class="btn redo"><i></i><span><span></span><i></i><?php print _('Cancel') ?></span></a>
<a href="<?php generateUrl(sprintf('%s?step=%s', INDEX_PHP, $currentStep->getStepNumber())) ?>&action=clean" class="btn warn"><i></i><span><span></span><i></i><?php print _('Erase all data') ?></span></a>
</div>