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