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