nextcloud/core/templates/error.php

14 lines
319 B
PHP
Raw Normal View History

<div class="error">
<h2><?php p($l->t('Error')) ?></h2>
<ul>
2011-08-08 21:50:36 +04:00
<?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;?>
2011-08-08 21:50:36 +04:00
</li>
<?php endforeach ?>
</ul>
</div>