server/core/templates/error.php

11 lines
298 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'>
2013-02-27 21:55:39 +00:00
<?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>