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