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