xref: /webtrees/resources/views/modules/review_changes/config.phtml (revision 84586c024c68dbfa3b15df636ed2b74037428442)
1<?php use Fisharebest\Webtrees\Bootstrap4; ?>
2<?php use Fisharebest\Webtrees\Functions\FunctionsEdit; ?>
3<?php use Fisharebest\Webtrees\I18N; ?>
4
5<p>
6    <?= I18N::translate('This block will show editors a list of records with pending changes that need to be reviewed by a moderator. It also generates daily emails to moderators whenever pending changes exist.') ?>
7</p>
8
9<fieldset class="form-group">
10    <div class="row">
11        <legend class="col-form-label col-sm-3">
12            <?= /* I18N: Label for a configuration option */ I18N::translate('Send out reminder emails') ?>
13        </legend>
14        <div class="col-sm-9">
15            <?= Bootstrap4::radioButtons('sendmail', FunctionsEdit::optionsNoYes(), $sendmail, true) ?>
16        </div>
17    </div>
18</fieldset>
19
20<div class="form-group row">
21    <label class="col-sm-3 col-form-label" for="days">
22        <?= I18N::translate('Reminder email frequency (days)') ?>
23    </label>
24    <div class="col-sm-9">
25        <input class="form-control" type="text" name="days" id="days" value="<?= e($days) ?>">
26    </div>
27</div>
28