aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/tos.phtml
blob: 6a2aa7ce8024695a0a41c568b449965a235f6d37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
	declare(strict_types=1);
	/** @var FreshRSS_View $this */
	if (FreshRSS_Auth::hasAccess()) {
		$this->partial('aside_configure');
	}
?>
<main class="post content<?= !FreshRSS_Auth::hasAccess() ? ' centered' : ''?>">
	<?php if (FreshRSS_Auth::hasAccess()) {?>
		<div class="link-back-wrapper">
			<a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
		</div>
	<?php } elseif ($this->can_register) { ?>
		<div class="link-back-wrapper">
			<a href="<?= _url('auth', 'register') ?>">
				<?= _t('gen.action.back') ?>
			</a>
		</div>
	<?php } else { ?>
		<div class="link-back-wrapper">
			<a href="<?= _url('index', 'index') ?>">
				<?= _t('gen.action.back') ?>
			</a>
		</div>
	<?php } ?>

	<h1><?= _t('index.tos.title')?></h1>
	<?= $this->terms_of_service ?>
</main>

<?php if (!FreshRSS_Auth::hasAccess()) { ?>
<footer class="main-footer">
	<a href="<?= _url('index', 'about') ?>"><?= _t('gen.freshrss.about') ?></a>
</footer>
<?php } ?>