aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2021-01-14 17:28:45 -0500
committerGravatar GitHub <noreply@github.com> 2021-01-14 23:28:45 +0100
commit29fe125b4a18f7107b50e54c69184c4f1777bbf6 (patch)
treed76446252588f6db51b50a697ff7649894817aa2 /app/views/configure
parente3457f7d7b56509048e3c1f53f05f278656e976c (diff)
Add constant for PHP requirements (#3369)
* Add constant for PHP requirements This new constant is used for PHP version check. This way, we won't forget to modify some part of the code base. * Remove PHP version checks Some checks were obsolete because they were checking unsupported PHP versions.
Diffstat (limited to 'app/views/configure')
-rw-r--r--app/views/configure/system.phtml30
1 files changed, 14 insertions, 16 deletions
diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml
index 75117ee1c..79376bc4e 100644
--- a/app/views/configure/system.phtml
+++ b/app/views/configure/system.phtml
@@ -38,23 +38,21 @@
</div>
</div>
- <?php if ($this->can_enable_email_validation) { ?>
- <div class="form-group">
- <div class="group-controls">
- <label class="checkbox" for="force-email-validation">
- <input
- type="checkbox"
- name="force-email-validation"
- id="force-email-validation"
- value="1"
- <?= FreshRSS_Context::$system_conf->force_email_validation ? 'checked="checked"' : '' ?>
- data-leave-validation="<?= FreshRSS_Context::$system_conf->force_email_validation ?>"
- />
- <?= _t('admin.system.force_email_validation') ?>
- </label>
- </div>
+ <div class="form-group">
+ <div class="group-controls">
+ <label class="checkbox" for="force-email-validation">
+ <input
+ type="checkbox"
+ name="force-email-validation"
+ id="force-email-validation"
+ value="1"
+ <?= FreshRSS_Context::$system_conf->force_email_validation ? 'checked="checked"' : '' ?>
+ data-leave-validation="<?= FreshRSS_Context::$system_conf->force_email_validation ?>"
+ />
+ <?= _t('admin.system.force_email_validation') ?>
+ </label>
</div>
- <?php } ?>
+ </div>
<div class="form-group">
<label class="group-name" for="max-feeds"><?= _t('admin.system.max-feeds') ?></label>