index.phtml 499 B

12345678910111213141516
  1. <?php /** @var FreshRSS_View $this */ ?>
  2. <main class="post">
  3. <div class="alert alert-error">
  4. <h1 class="alert-head"><?= $this->code ?></h1>
  5. <p>
  6. <?= htmlspecialchars($this->errorMessage, ENT_NOQUOTES, 'UTF-8') ?>
  7. </p>
  8. <p>
  9. <?php if (FreshRSS_Auth::hasAccess()) {?>
  10. <a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
  11. <?php } else { ?>
  12. <a href="<?= _url('auth', 'login') ?>"><?= _t('gen.auth.login') ?></a>
  13. <?php } ?>
  14. </p>
  15. </div>
  16. </main>