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