Files
sysPass/inc/tpl/errorfancy.inc
nuxsmin 601ce41212 * [ADD] 1st step moving to MVC model. Mostly views and code logic were rewritten and added a bunch of templates. Lot of work!!
* [ADD] New template "engine". A very basic engine to render php coded templates.
* [ADD] Cached config in session with expire time.
2015-06-07 03:42:50 +02:00

14 lines
580 B
PHP

<div id="fancyView" class="msgError">
<?php if (count($errors) > 0): ?>
<ul class="errors round">
<?php foreach ($errors as $err): ?>
<?php if (is_array($err)): ?>
<li class="err_<?php echo $err["type"]; ?>">
<strong><?php echo $err['description']; ?></strong>
<?php echo ($err['hint']) ? '<p class="hint">' . $err['hint'] . '</p>' : ''; ?>
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</div>