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