1<?php use Fisharebest\Webtrees\I18N; 2 3?> 4 5<h2 class="wt-page-title"> 6 <?= $title ?> 7</h2> 8 9<form method="post" class="wt-page-options wt-page-options-timeline-chart d-print-none"> 10 <?= csrf_field() ?> 11 12 <div class="row form-group"> 13 <label class="col-sm-3 col-form-label wt-page-options-label" for="add"> 14 <?= I18N::translate('Individual') ?> 15 </label> 16 <div class="col-sm-9 wt-page-options-value"> 17 <?= view('components/select-individual', ['name' => 'add', 'id' => 'add', 'tree' => $tree, 'required' => true]) ?> 18 </div> 19 </div> 20 21 <div class="row form-group"> 22 <div class="col-form-label col-sm-3 wt-page-options-label"></div> 23 <div class="col-sm-9 wt-page-options-value"> 24 <input class="btn btn-primary" type="submit" value="<?= /* I18N: A button label. */ 25 I18N::translate('add') ?>"> 26 <a class="btn btn-secondary" href="<?= e($reset_url) ?>"> 27 <?= /* I18N: A button label. */ 28 I18N::translate('reset') ?> 29 </a> 30 </div> 31 </div> 32 33 <div class="row form-group"> 34 <div class="col-form-label col-sm-3 wt-page-options-label"></div> 35 <div class="col-sm-9 wt-page-options-value"> 36 <a href="<?= e($zoom_in_url) ?>" title="<?= I18N::translate('Zoom in') ?>"> 37 <?= view('icons/zoom-in') ?> 38 </a> 39 <a href="<?= e($zoom_out_url) ?>" title="<?= I18N::translate('Zoom out') ?>"> 40 <?= view('icons/zoom-out') ?> 41 </a> 42 </div> 43 </div> 44</form> 45 46<div class="row my-4"> 47 <?php foreach ($individuals as $n => $individual) : ?> 48 <div class="col-md-6 col-lg-4 col-xl-3 person<?= $n % 6 ?>"> 49 <?= view('icons/sex-' . $individual->sex()) ?> 50 <a href="<?= e($individual->url()) ?>"> 51 <?= $individual->fullName() ?> 52 <?php if ($individual->alternateName() !== '') : ?> 53 <br> 54 <?= $individual->alternateName() ?> 55 <?php endif ?> 56 </a> 57 <a href="<?= e($remove_urls[$individual->xref()]) ?>"> 58 <?= I18N::translate('Remove individual') ?> 59 </a> 60 <?php if ($individual->getBirthDate()->isOK()) : ?> 61 <br> 62 <label> 63 <input type="checkbox" name="agebar<?= $n ?>" onclick="$('#agebox<?= $n ?>').toggle();"> 64 <?= /* I18N: an age indicator, which can be dragged around the screen */ 65 I18N::translate('Show an age cursor') ?> 66 </label> 67 <?php endif ?> 68 </div> 69 <?php endforeach ?> 70</div> 71 72<div class="wt-ajax-load wt-page-content wt-chart wt-timeline-chart" data-ajax-url="<?= e($ajax_url) ?>"></div> 73