nextcloud/core/templates/error.php
Jan-Christoph Borchardt 9f67fb86c8 Improve design of various error messages
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-08-12 18:48:48 +02:00

14 lines
319 B
PHP

<div class="error">
<h2><?php p($l->t('Error')) ?></h2>
<ul>
<?php foreach($_["errors"] as $error):?>
<li>
<p><?php p($error['error']) ?></p>
<?php if(isset($error['hint']) && $error['hint']): ?>
<p class='hint'><?php p($error['hint']) ?></p>
<?php endif;?>
</li>
<?php endforeach ?>
</ul>
</div>