1<?php 2 3use Fisharebest\Webtrees\I18N; 4 5/** 6 * @var string $days 7 * @var string $sendmail 8 */ 9 10?> 11 12<p> 13 <?= 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.') ?> 14</p> 15 16<fieldset class="form-group"> 17 <div class="row"> 18 <legend class="col-form-label col-sm-3"> 19 <?= /* I18N: Label for a configuration option */ I18N::translate('Send out reminder emails') ?> 20 </legend> 21 <div class="col-sm-9"> 22 <?= view('components/radios-inline', ['name' => 'sendmail', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $sendmail]) ?> 23 </div> 24 </div> 25</fieldset> 26 27<div class="form-group row"> 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