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