1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<fieldset class="form-group"> 4 <div class="row"> 5 <legend class="col-form-label col-sm-3"> 6 <?= I18N::translate('Last change') ?> 7 </legend> 8 <div class="col-sm-9"> 9 <?= view('components/checkbox', ['label' => /* I18N: label for yes/no option */ I18N::translate('Show date of last update'),'name' => 'show_last_update', 'checked' => (bool) $show_last_update]) ?> 10 </div> 11 </div> 12</fieldset> 13 14<fieldset class="form-group"> 15 <div class="row"> 16 <legend class="col-form-label col-sm-3"> 17 <?= I18N::translate('Statistics') ?> 18 </legend> 19 <div class="col-sm-9"> 20 <?= view('components/checkbox', ['label' => I18N::translate('Individuals'), 'name' => 'stat_indi', 'checked' => (bool) $stat_indi]) ?> 21 <?= view('components/checkbox', ['label' => I18N::translate('Total surnames'), 'name' => 'stat_surname', 'checked' => (bool) $stat_surname]) ?> 22 <?= view('components/checkbox', ['label' => I18N::translate('Families'), 'name' => 'stat_fam', 'checked' => (bool) $stat_fam]) ?> 23 <?= view('components/checkbox', ['label' => I18N::translate('Sources'), 'name' => 'stat_sour', 'checked' => (bool) $stat_sour]) ?> 24 <?= view('components/checkbox', ['label' => I18N::translate('Media objects'), 'name' => 'stat_media', 'checked' => (bool) $stat_media]) ?> 25 <?= view('components/checkbox', ['label' => I18N::translate('Repositories'), 'name' => 'stat_repo', 'checked' => (bool) $stat_repo]) ?> 26 <?= view('components/checkbox', ['label' => I18N::translate('Total events'), 'name' => 'stat_events', 'checked' => (bool) $stat_events]) ?> 27 <?= view('components/checkbox', ['label' => I18N::translate('Total users'), 'name' => 'stat_users', 'checked' => (bool) $stat_users]) ?> 28 <?= view('components/checkbox', ['label' => I18N::translate('Earliest birth'), 'name' => 'stat_first_birth', 'checked' => (bool) $stat_first_birth]) ?> 29 <?= view('components/checkbox', ['label' => I18N::translate('Latest birth'), 'name' => 'stat_last_birth', 'checked' => (bool) $stat_last_birth]) ?> 30 <?= view('components/checkbox', ['label' => I18N::translate('Earliest death'), 'name' => 'stat_first_death', 'checked' => (bool) $stat_first_death]) ?> 31 <?= view('components/checkbox', ['label' => I18N::translate('Latest death'), 'name' => 'stat_last_death', 'checked' => (bool) $stat_last_death]) ?> 32 <?= view('components/checkbox', ['label' => I18N::translate('Individual who lived the longest'), 'name' => 'stat_long_life', 'checked' => (bool) $stat_long_life]) ?> 33 <?= view('components/checkbox', ['label' => I18N::translate('Average age at death'), 'name' => 'stat_avg_life', 'checked' => (bool) $stat_avg_life]) ?> 34 <?= view('components/checkbox', ['label' => I18N::translate('Family with the most children'), 'name' => 'stat_most_chil', 'checked' => (bool) $stat_most_chil]) ?> 35 <?= view('components/checkbox', ['label' => I18N::translate('Average number of children per family'), 'name' => 'stat_avg_chil', 'checked' => (bool) $stat_avg_chil]) ?> 36 </div> 37 </div> 38</fieldset> 39 40<fieldset class="form-group"> 41 <div class="row"> 42 <legend class="col-form-label col-sm-3"> 43 <label for="show_common_surnames"> 44 <?= I18N::translate('Surnames') ?> 45 </label> 46 </legend> 47 <div class="col-sm-9"> 48 <?= view('components/checkbox', ['label' => I18N::translate('Most common surnames'), 'name' => 'show_common_surnames', 'checked' => (bool) $show_common_surnames]) ?> 49 </div> 50 </div> 51 52 <div class="row"> 53 <label class="col-form-label col-sm-3"> 54 <label for="number_of_surnames"> 55 <?= /* I18N: ... to show in a list */ 56 I18N::translate('Number of surnames') ?> 57 </label> 58 </label> 59 <div class="col-sm-9"> 60 <input 61 class="form-control" 62 id="number_of_surnames" 63 name="number_of_surnames" 64 min="1" 65 required 66 type="number" 67 value="<?= e($number_of_surnames) ?>" 68 > 69 </div> 70 </div> 71</fieldset> 72