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