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