error.php 515 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2011-2015 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. ?>
  8. <div class="guest-box">
  9. <h2><?php p($l->t('Error')) ?></h2>
  10. <ul>
  11. <?php foreach ($_["errors"] as $error):?>
  12. <li>
  13. <p><?php p($error['error']) ?></p>
  14. <?php if (isset($error['hint']) && $error['hint']): ?>
  15. <p class='hint'><?php p($error['hint']) ?></p>
  16. <?php endif;?>
  17. </li>
  18. <?php endforeach ?>
  19. </ul>
  20. </div>