aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/about.phtml
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-03-26 14:18:05 +0200
committerGravatar GitHub <noreply@github.com> 2023-03-26 14:18:05 +0200
commit59c1405c7d4d014ff693ef6f44400ea06318dc69 (patch)
tree38e58b7dc313d5405022445be2796e529c795324 /app/views/index/about.phtml
parent5f898dcc5ee244e4adbd6aa83b607c844d432fb6 (diff)
TOS in footer (#5222)
* footer added * register page
Diffstat (limited to 'app/views/index/about.phtml')
-rw-r--r--app/views/index/about.phtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/index/about.phtml b/app/views/index/about.phtml
index 41c0b1c72..1966c1f6b 100644
--- a/app/views/index/about.phtml
+++ b/app/views/index/about.phtml
@@ -45,3 +45,11 @@
<h2><?= _t('index.about.credits') ?></h2>
<p><?= _t('index.about.credits_content') ?></p>
</main>
+
+<?php if (!FreshRSS_Auth::hasAccess()) { ?>
+<footer class="main-footer">
+ <?php if (file_exists(TOS_FILENAME)) { ?>
+ <a href="<?= _url('index', 'tos') ?>"><?= _t('index.tos.title')?></a>
+ <?php } ?>
+</footer>
+<?php } ?>