1<?php 2 3declare(strict_types=1); 4 5use Fisharebest\Webtrees\I18N; 6 7/** 8 * @var array<string,string> $all_events 9 * @var array<string,string> $event_array 10 * @var string $filter 11 * @var string $info_style 12 * @var array<string,string> $info_styles 13 * @var string $sort_style 14 * @var array<string,string> $sort_styles 15 */ 16 17?> 18 19<div class="row mb-3"> 20 <label class="col-sm-3 col-form-label" for="filter"> 21 <?= I18N::translate('Show only events of living individuals') ?> 22 </label> 23 <div class="col-sm-9"> 24 <?= view('components/radios-inline', ['name' => 'filter', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $filter]) ?> 25 </div> 26</div> 27 28<div class="row mb-3"> 29 <label class="col-sm-3 col-form-label" for="events"> 30 <?= I18N::translate('Events') ?> 31 </label> 32 <div class="col-sm-9"> 33 <?= view('components/select', ['name' => 'events[]', 'id' => 'events', 'selected' => $event_array, 'options' => $all_events, 'class' => 'tom-select']) ?> 34 </div> 35</div> 36 37<div class="row mb-3"> 38 <label class="col-sm-3 col-form-label" for="infoStyle"> 39 <?= I18N::translate('Layout') ?> 40 </label> 41 <div class="col-sm-9"> 42 <?= view('components/select', ['name' => 'infoStyle', 'selected' => $info_style, 'options' => $info_styles]) ?> 43 </div> 44</div> 45 46<div class="row mb-3"> 47 <label class="col-sm-3 col-form-label" for="sortStyle"> 48 <?= /* I18N: Label for a configuration option */ I18N::translate('Sort order') ?> 49 </label> 50 <div class="col-sm-9"> 51 <?= view('components/select', ['name' => 'sortStyle', 'selected' => $sort_style, 'options' => $sort_styles]) ?> 52 </div> 53</div> 54