1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<?php use Fisharebest\Webtrees\Bootstrap4; ?>
<?php use Fisharebest\Webtrees\Functions\FunctionsEdit; ?>
<?php use Fisharebest\Webtrees\I18N; ?>
<div class="form-group row">
<label class="col-sm-3 col-form-label" for="days">
<?= I18N::translate('Number of days to show') ?>
</label>
<div class="col-sm-9">
<input type="text" name="days" id="days" size="2" value="<?= $days ?>">
<?= I18N::plural('maximum %s day', 'maximum %s days', $max_days, I18N::number($max_days)) ?>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label" for="filter">
<?= I18N::translate('Show only events of living individuals') ?>
</label>
<div class="col-sm-9">
<?= Bootstrap4::radioButtons('filter', FunctionsEdit::optionsNoYes(), $filter, true) ?>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label" for="events">
<?= I18N::translate('Events') ?>
</label>
<div class="col-sm-9">
<?= Bootstrap4::multiSelect($all_events, $event_array, ['id' => 'events', 'name' => 'events[]', 'class' => 'select2']) ?>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label" for="infoStyle">
<?= /* I18N: Label for a configuration option */ I18N::translate('Presentation style') ?>
</label>
<div class="col-sm-9">
<?= Bootstrap4::select($info_styles, $infoStyle, ['id' => 'infoStyle', 'name' => 'infoStyle']) ?>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label" for="sortStyle">
<?= /* I18N: Label for a configuration option */ I18N::translate('Sort order') ?>
</label>
<div class="col-sm-9">
<?= Bootstrap4::select($sort_styles, $sortStyle, ['id' => 'sortStyle', 'name' => 'sortStyle']) ?>
</div>
</div>
|