server/core/templates/error.php

11 lines
283 B
PHP
Raw Normal View History

<ul class="error-wide">
2011-08-08 17:50:36 +00:00
<?php foreach($_["errors"] as $error):?>
<li class='error'>
<?php p($error['error']) ?><br>
<?php if(isset($error['hint']) && $error['hint']): ?>
<p class='hint'><?php p($error['hint']) ?></p>
<?php endif;?>
2011-08-08 17:50:36 +00:00
</li>
<?php endforeach ?>
</ul>