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