nextcloud/core/templates/error.php
Andy Scherzinger e07a190641
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-27 14:53:40 +02:00

21 lines
515 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2011-2015 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
?>
<div class="guest-box">
<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>