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