1<?php 2 3use Fisharebest\Webtrees\Http\RequestHandlers\ControlPanel; 4use Fisharebest\Webtrees\Http\RequestHandlers\ManageTrees; 5use Fisharebest\Webtrees\Http\RequestHandlers\UnconnectedAction; 6use Fisharebest\Webtrees\I18N; 7use Fisharebest\Webtrees\Individual; 8use Fisharebest\Webtrees\Tree; 9 10/** 11 * @var string $title 12 * @var bool $aliases 13 * @var bool $associates 14 * @var Individual[][] $individual_groups 15 * @var Individual $root 16 * @var Tree $tree 17 */ 18 19?> 20 21<?= view('components/breadcrumbs', ['links' => [route(ControlPanel::class) => I18N::translate('Control panel'), route(ManageTrees::class, ['tree' => $tree->name()]) => I18N::translate('Manage family trees'), $title]]) ?> 22 23<h1><?= $title ?></h1> 24 25<form method="post" action="<?= e(route(UnconnectedAction::class, ['tree' => $tree->name()])) ?>"> 26 <?= csrf_field() ?> 27 28 <?= view('components/checkbox-inline', ['label' => I18N::translate('Include associates'), 'checked' => $associates, 'name' => 'associates']) ?> 29 <?= view('components/checkbox-inline', ['label' => I18N::translate('Include aliases'), 'checked' => $aliases, 'name' => 'aliases']) ?> 30 <button type="submit" class="btn btn-primary"> 31 <?= I18N::translate('update') ?> 32 </button> 33</form> 34 35<p><?= I18N::translate('These groups of individuals are not related to %s.', $root->fullName()) ?></p> 36 37<?php foreach ($individual_groups as $group) : ?> 38 <h2><?= I18N::plural('%s individual', '%s individuals', count($group), I18N::number(count($group))) ?></h2> 39 <ul> 40 <?php foreach ($group as $individual) : ?> 41 <li> 42 <a href="<?= e($individual->url()) ?>"><?= $individual->fullName() ?></a> 43 </li> 44 <?php endforeach ?> 45 </ul> 46<?php endforeach ?> 47