aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure/system.phtml
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-03-21 18:47:07 +0100
committerGravatar GitHub <noreply@github.com> 2023-03-21 18:47:07 +0100
commite679d3df0e55530c056d701b4773ff7e74f5c82c (patch)
tree38c69b91a41c05b3f5893b90e7f71077db95b4c0 /app/views/configure/system.phtml
parent34f62896ac729131dee25997307521bf259c5efc (diff)
Improved: show Terms of Service in config menu (#5215)
* Use constants for path to TOS * improve comments * TOS title moved to template * TOS available via config menu * CSS: improve handling of content of TOS/about * give info about set/unset TOS in system config * fix target * i18n FR * i18n DE
Diffstat (limited to 'app/views/configure/system.phtml')
-rw-r--r--app/views/configure/system.phtml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml
index bf14cac5d..58879fc7e 100644
--- a/app/views/configure/system.phtml
+++ b/app/views/configure/system.phtml
@@ -84,6 +84,19 @@
</div>
<div class="form-group">
+ <label class="group-name"><?= _t('index.tos.title') ?></label>
+ <div class="group-controls">
+ <?php if (file_exists(TOS_FILENAME)) { ?>
+ <?= _t('admin.system.tos.enabled') ?>
+ <?php
+ } else { ?>
+ <?= _t('admin.system.tos.disabled') ?>
+ <p class="help"><?= _i('help') ?> <?= _t('admin.system.tos.help') ?></p>
+ <?php } ?>
+ </div>
+ </div>
+
+ <div class="form-group">
<div class="group-controls">
<label class="checkbox" for="force-email-validation">
<input