1d70512abSGreg Roach<?php 2d70512abSGreg Roach 3*10e06497SGreg Roachdeclare(strict_types=1); 4*10e06497SGreg Roach 5d70512abSGreg Roachuse Fisharebest\Webtrees\I18N; 6d70512abSGreg Roach 77c2c99faSGreg Roach/** 87c2c99faSGreg Roach * @var array<string,string> $all_events 97c2c99faSGreg Roach * @var array<string,string> $event_array 107c2c99faSGreg Roach * @var string $filter 117c2c99faSGreg Roach * @var string $info_style 127c2c99faSGreg Roach * @var array<string,string> $info_styles 137c2c99faSGreg Roach * @var string $sort_style 147c2c99faSGreg Roach * @var array<string,string> $sort_styles 157c2c99faSGreg Roach */ 167c2c99faSGreg Roach 17d70512abSGreg Roach?> 18dd6b2bfcSGreg Roach 199e3c2cf9SGreg Roach<div class="row mb-3"> 20dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="filter"> 21dd6b2bfcSGreg Roach <?= I18N::translate('Show only events of living individuals') ?> 22dd6b2bfcSGreg Roach </label> 23dd6b2bfcSGreg Roach <div class="col-sm-9"> 24b6c326d8SGreg Roach <?= view('components/radios-inline', ['name' => 'filter', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $filter]) ?> 25dd6b2bfcSGreg Roach </div> 26dd6b2bfcSGreg Roach</div> 27dd6b2bfcSGreg Roach 289e3c2cf9SGreg Roach<div class="row mb-3"> 29dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="events"> 30dd6b2bfcSGreg Roach <?= I18N::translate('Events') ?> 31dd6b2bfcSGreg Roach </label> 32dd6b2bfcSGreg Roach <div class="col-sm-9"> 33c8d78f19SGreg Roach <?= view('components/select', ['name' => 'events[]', 'id' => 'events', 'selected' => $event_array, 'options' => $all_events, 'class' => 'tom-select']) ?> 34dd6b2bfcSGreg Roach </div> 35dd6b2bfcSGreg Roach</div> 36dd6b2bfcSGreg Roach 379e3c2cf9SGreg Roach<div class="row mb-3"> 38dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="infoStyle"> 39b6f85d51SGreg Roach <?= I18N::translate('Layout') ?> 40dd6b2bfcSGreg Roach </label> 41dd6b2bfcSGreg Roach <div class="col-sm-9"> 427c2c99faSGreg Roach <?= view('components/select', ['name' => 'infoStyle', 'selected' => $info_style, 'options' => $info_styles]) ?> 43dd6b2bfcSGreg Roach </div> 44dd6b2bfcSGreg Roach</div> 45dd6b2bfcSGreg Roach 469e3c2cf9SGreg Roach<div class="row mb-3"> 47dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="sortStyle"> 48dd6b2bfcSGreg Roach <?= /* I18N: Label for a configuration option */ I18N::translate('Sort order') ?> 49dd6b2bfcSGreg Roach </label> 50dd6b2bfcSGreg Roach <div class="col-sm-9"> 517c2c99faSGreg Roach <?= view('components/select', ['name' => 'sortStyle', 'selected' => $sort_style, 'options' => $sort_styles]) ?> 52dd6b2bfcSGreg Roach </div> 53dd6b2bfcSGreg Roach</div> 54