1use Fisharebest\Webtrees\I18N; ?> 2<?php ?> 3 4<div class="form-group row"> 5 <label class="col-sm-3 col-form-label" for="filter"> 6 <?= I18N::translate('Show only individuals, events, or all') ?> 7 </label> 8 <div class="col-sm-9"> 9 <?= view('components/select', ['name' => 'filter', 'selected' => $filter, 'options' => ['indi' => I18N::translate('Individuals'), 'event' => I18N::translate('Facts and events'), 'all' => I18N::translate('All')]]) ?> 10 </div> 11</div> 12 13<fieldset class="form-group"> 14 <div class="row"> 15 <legend class="col-form-label col-sm-3"> 16 <?= I18N::translate('Type') ?> 17 </legend> 18 <div class="col-sm-9"> 19 <?php foreach ($formats as $typeName => $typeValue) : ?> 20 <?= view('components/checkbox', ['label' => $typeValue, 'name' => 'filter_' . $typeName, 'checked' => (bool) $filters[$typeName]]) ?> 21 <?php endforeach ?> 22 </div> 23 </div> 24</fieldset> 25 26<div class="form-group row"> 27 <label class="col-sm-3 col-form-label" for="controls"> 28 <?= I18N::translate('Show slide show controls') ?> 29 </label> 30 <div class="col-sm-9"> 31 <?= view('components/radios-inline', ['name' => 'controls', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $controls]) ?> 32 </div> 33</div> 34 35<div class="form-group row"> 36 <label class="col-sm-3 col-form-label" for="start"> 37 <?= I18N::translate('Start slide show on page load') ?> 38 </label> 39 <div class="col-sm-9"> 40 <?= view('components/radios-inline', ['name' => 'start', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $start]) ?> 41 </div> 42</div> 43