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