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