xref: /webtrees/resources/views/modules/review_changes/config.phtml (revision 9e3c2cf9009c4c2140f50ddfc80b91f2f82cdce5)
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
16*9e3c2cf9SGreg Roach<fieldset class="row mb-3">
17dd6b2bfcSGreg Roach    <legend class="col-form-label col-sm-3">
18dd6b2bfcSGreg Roach        <?= /* I18N: Label for a configuration option */ I18N::translate('Send out reminder emails') ?>
19dd6b2bfcSGreg Roach    </legend>
20dd6b2bfcSGreg Roach    <div class="col-sm-9">
21b6c326d8SGreg Roach        <?= view('components/radios-inline', ['name' => 'sendmail', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $sendmail]) ?>
22dd6b2bfcSGreg Roach    </div>
23dd6b2bfcSGreg Roach</fieldset>
24dd6b2bfcSGreg Roach
25*9e3c2cf9SGreg Roach<div class="row mb-3">
26dd6b2bfcSGreg Roach    <label class="col-sm-3 col-form-label" for="days">
27dd6b2bfcSGreg Roach        <?= I18N::translate('Reminder email frequency (days)') ?>
28dd6b2bfcSGreg Roach    </label>
29dd6b2bfcSGreg Roach    <div class="col-sm-9">
307dca5265SGreg Roach        <input class="form-control" type="number" min="1" name="days" id="days" value="<?= e($days) ?>" required="required">
31dd6b2bfcSGreg Roach    </div>
32dd6b2bfcSGreg Roach</div>
33