1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<div class="form-group row"> 4 <label class="col-sm-3 col-form-label" for="days"> 5 <?= I18N::translate('Number of days to show') ?> 6 </label> 7 <div class="col-sm-9"> 8 <input type="text" name="days" id="days" size="2" value="<?= $days ?>"> 9 <?= I18N::plural('maximum %s day', 'maximum %s days', $max_days, I18N::number($max_days)) ?> 10 </div> 11</div> 12 13<div class="form-group row"> 14 <label class="col-sm-3 col-form-label" for="filter"> 15 <?= I18N::translate('Show only events of living individuals') ?> 16 </label> 17 <div class="col-sm-9"> 18 <?= view('components/radios-inline', ['name' => 'filter', 'options' => [I18N::translate('no'), I18N::translate('yes')], 'selected' => (int) $filter]) ?> 19 </div> 20</div> 21 22<div class="form-group row"> 23 <label class="col-sm-3 col-form-label" for="events"> 24 <?= I18N::translate('Events') ?> 25 </label> 26 <div class="col-sm-9"> 27 <?= view('components/select', ['name' => 'events[]', 'id' => 'events', 'selected' => $event_array, 'options' => $all_events, 'class' => 'select2']) ?> 28 </div> 29</div> 30 31<div class="form-group row"> 32 <label class="col-sm-3 col-form-label" for="infoStyle"> 33 <?= /* I18N: Label for a configuration option */ I18N::translate('Presentation style') ?> 34 </label> 35 <div class="col-sm-9"> 36 <?= view('components/select', ['name' => 'infoStyle', 'selected' => $info_styles, 'options' => $info_styles]) ?> 37 </div> 38</div> 39 40<div class="form-group row"> 41 <label class="col-sm-3 col-form-label" for="sortStyle"> 42 <?= /* I18N: Label for a configuration option */ I18N::translate('Sort order') ?> 43 </label> 44 <div class="col-sm-9"> 45 <?= view('components/select', ['name' => 'sortStyle', 'selected' => $sortStyle, 'options' => $sort_styles]) ?> 46 </div> 47</div> 48