diff options
| author | 2026-01-24 20:16:43 +0545 | |
|---|---|---|
| committer | 2026-01-24 15:31:43 +0100 | |
| commit | 85f14f92fdb5c375f0ae4100f50a529a62b480ec (patch) | |
| tree | ce31496afc85b2b8f44eda7db288da68161eb261 /app/views/configure/system.phtml | |
| parent | cb3ea904904b5b170313f285bee884be3df2ff91 (diff) | |
Message for closed registration (#8462)
* Add closed msg field
i18n
fix
* Display based on registration type
* Save as FreshRSS_Context::systemConf()->closed_registration_message instead
* Improve messages
* Revert unrelated changes
* make fix-all
* Minor whitespace
* Simplify logic
* Fix invalid use of empty() and sympler syntax
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/views/configure/system.phtml')
| -rw-r--r-- | app/views/configure/system.phtml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml index 2bee35227..7097126ed 100644 --- a/app/views/configure/system.phtml +++ b/app/views/configure/system.phtml @@ -93,6 +93,16 @@ </div> <div class="form-group"> + <label class="group-name" for="closed_registration_message"><?= _t('admin.system.closed_registration_message') ?></label> + <div class="group-controls"> + <textarea id="closed_registration_message" name="closed_registration_message" rows="4" cols="50"><?= + FreshRSS_Context::systemConf()->attributeString('closed_registration_message') ?: + _t('admin.system.default_closed_registration_message') + ?></textarea> + </div> + </div> + + <div class="form-group"> <label class="group-name"><?= _t('index.tos.title') ?></label> <div class="group-controls"> <?php if (file_exists(TOS_FILENAME)) { ?> |
