server/core/templates/error.php

11 lines
297 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 print_unescaped($error['hint']) ?></p>
<?php endif;?>
2011-08-08 17:50:36 +00:00
</li>
<?php endforeach ?>
</ul>