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