xref: /webtrees/resources/views/modules/recent_changes/config.phtml (revision 0115bc1678cafd957052cd2d256563ad3e242cc1)
1<?php use Fisharebest\Webtrees\Bootstrap4; ?>
2<?php use Fisharebest\Webtrees\Functions\FunctionsEdit; ?>
3<?php use Fisharebest\Webtrees\I18N; ?>
4
5<div class="form-group row">
6    <label class="col-sm-3 col-form-label" for="days">
7        <?= I18N::translate('Number of days to show') ?>
8    </label>
9    <div class="col-sm-9">
10        <input class="form-control" id="days" name="days" type="text" value="<?= e($days) ?>">
11        <?= I18N::plural('maximum %s day', 'maximum %s days', $max_days, I18N::number($max_days)) ?>
12    </div>
13</div>
14
15<div class="form-group row">
16    <label class="col-sm-3 col-form-label" for="infoStyle">
17        <?= I18N::translate('Presentation style') ?>
18    </label>
19    <div class="col-sm-9">
20        <?= Bootstrap4::select($info_styles, $infoStyle, ['id' => 'infoStyle', 'name' => 'infoStyle']) ?>
21    </div>
22</div>
23
24<div class="form-group row">
25    <label class="col-sm-3 col-form-label" for="sortStyle">
26        <?= I18N::translate('Sort order') ?>
27    </label>
28    <div class="col-sm-9">
29        <?= Bootstrap4::select($sort_styles, $sortStyle, ['id' => 'sortStyle', 'name' => 'sortStyle']) ?>
30    </div>
31</div>
32
33<div class="form-group row">
34    <label class="col-sm-3 col-form-label" for="show_usere">
35        <?= /* I18N: label for a yes/no option */ I18N::translate('Show the user who made the change') ?>
36    </label>
37    <div class="col-sm-9">
38        <?= Bootstrap4::radioButtons('show_user', FunctionsEdit::optionsNoYes(), $show_user, true) ?>
39    </div>
40</div>
41