mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 08:34:16 +01:00
* [ADD] New template "engine". A very basic engine to render php coded templates. * [ADD] Cached config in session with expire time.
14 lines
580 B
PHP
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>
|