17c2c99faSGreg Roach<?php 27c2c99faSGreg Roach 3*10e06497SGreg Roachdeclare(strict_types=1); 4*10e06497SGreg Roach 57c2c99faSGreg Roachuse Fisharebest\Webtrees\Individual; 67c2c99faSGreg Roach 77c2c99faSGreg Roach/** 87c2c99faSGreg Roach * @var Individual $individual 97c2c99faSGreg Roach */ 107c2c99faSGreg Roach 117c2c99faSGreg Roach?> 12dd6b2bfcSGreg Roach<div class="wt-sidebar-content wt-sidebar-family-navigator"> 13dd6b2bfcSGreg Roach <!-- parent families --> 1439ca88baSGreg Roach <?php foreach ($individual->childFamilies() as $family) : ?> 15dd6b2bfcSGreg Roach <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'title' => $individual->getChildFamilyLabel($family)]) ?> 16dd6b2bfcSGreg Roach <?php endforeach ?> 17dd6b2bfcSGreg Roach 18dd6b2bfcSGreg Roach <!-- step parents --> 1939ca88baSGreg Roach <?php foreach ($individual->childStepFamilies() as $family) : ?> 20dd6b2bfcSGreg Roach <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'title' => $individual->getStepFamilyLabel($family)]) ?> 21dd6b2bfcSGreg Roach <?php endforeach ?> 22dd6b2bfcSGreg Roach 23dd6b2bfcSGreg Roach <!-- spouse and children --> 2439ca88baSGreg Roach <?php foreach ($individual->spouseFamilies() as $family) : ?> 25b4c5c807SGreg Roach <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'title' => $individual->getSpouseFamilyLabel($family)]) ?> 26dd6b2bfcSGreg Roach <?php endforeach ?> 27dd6b2bfcSGreg Roach 28dd6b2bfcSGreg Roach <!-- step children --> 29a6fb19d3SGreg Roach <?php foreach ($individual->spouseStepFamilies() as $family) : ?> 3039ca88baSGreg Roach <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'title' => $family->fullName()]) ?> 31dd6b2bfcSGreg Roach <?php endforeach ?> 32dd6b2bfcSGreg Roach</div> 33