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