index.phtml 460 B

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