xref: /webtrees/resources/views/modules/todays_events/config.phtml (revision 3976b4703df669696105ed6b024b96d433c8fbdb)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<div class="form-group row">
4    <label class="col-sm-3 col-form-label" for="filter">
5        <?= I18N::translate('Show only events of living individuals') ?>
6    </label>
7    <div class="col-sm-9">
8        <?= view('components/radios-inline', ['name' => 'filter', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $filter]) ?>
9    </div>
10</div>
11
12<div class="form-group row">
13    <label class="col-sm-3 col-form-label" for="events">
14        <?= I18N::translate('Events') ?>
15    </label>
16    <div class="col-sm-9">
17        <?= view('components/select', ['name' => 'events[]', 'id' => 'events', 'selected' => $event_array, 'options' => $all_events, 'class' => 'select2']) ?>
18    </div>
19</div>
20
21<div class="form-group row">
22    <label class="col-sm-3 col-form-label" for="infoStyle">
23        <?= /* I18N: Label for a configuration option */ I18N::translate('Presentation style') ?>
24    </label>
25    <div class="col-sm-9">
26        <?= view('components/select', ['name' => 'infoStyle', 'selected' => $infoStyle, 'options' => $info_styles]) ?>
27    </div>
28</div>
29
30<div class="form-group row">
31    <label class="col-sm-3 col-form-label" for="sortStyle">
32        <?= /* I18N: Label for a configuration option */ I18N::translate('Sort order') ?>
33    </label>
34    <div class="col-sm-9">
35        <?= view('components/select', ['name' => 'sortStyle', 'selected' => $sortStyle, 'options' => $sort_styles]) ?>
36    </div>
37</div>
38