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