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