xref: /webtrees/resources/views/modules/review_changes/config.phtml (revision 9b152ff9230017d2c03aa1bf603a98b18250446d)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5?>
6
7<p>
8    <?= 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.') ?>
9</p>
10
11<fieldset class="form-group">
12    <div class="row">
13        <legend class="col-form-label col-sm-3">
14            <?= /* I18N: Label for a configuration option */ I18N::translate('Send out reminder emails') ?>
15        </legend>
16        <div class="col-sm-9">
17            <?= view('components/radios-inline', ['name' => 'sendmail', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $sendmail]) ?>
18        </div>
19    </div>
20</fieldset>
21
22<div class="form-group row">
23    <label class="col-sm-3 col-form-label" for="days">
24        <?= I18N::translate('Reminder email frequency (days)') ?>
25    </label>
26    <div class="col-sm-9">
27        <input class="form-control" type="number" min="1" name="days" id="days" value="<?= e($days) ?>" required>
28    </div>
29</div>
30