1ac107fcfSGreg Roach<?php 2ac107fcfSGreg Roach 3*10e06497SGreg Roachdeclare(strict_types=1); 4*10e06497SGreg Roach 5ac107fcfSGreg Roachuse Fisharebest\Webtrees\Family; 6ac107fcfSGreg Roachuse Fisharebest\Webtrees\GedcomRecord; 7ac107fcfSGreg Roachuse Fisharebest\Webtrees\Individual; 8e8ded2caSGreg Roachuse Fisharebest\Webtrees\Location; 9ac107fcfSGreg Roachuse Fisharebest\Webtrees\Media; 10ac107fcfSGreg Roachuse Fisharebest\Webtrees\Note; 11ac107fcfSGreg Roachuse Fisharebest\Webtrees\Repository; 12ac107fcfSGreg Roachuse Fisharebest\Webtrees\Source; 13ac107fcfSGreg Roachuse Fisharebest\Webtrees\Submitter; 14ac107fcfSGreg Roach 15ac107fcfSGreg Roach/** 16ac107fcfSGreg Roach * @var GedcomRecord $record 17ac107fcfSGreg Roach */ 18a27e4c49SGreg Roach 19a27e4c49SGreg Roachif ($record->tag() === Individual::RECORD_TYPE) : ?> 2008362db4SGreg Roach<?= view('icons/individual') ?> 2102467d32SGreg Roach<?php elseif ($record->tag() === Family::RECORD_TYPE) : ?> 2208362db4SGreg Roach<?= view('icons/family') ?> 2302467d32SGreg Roach<?php elseif ($record->tag() === Source::RECORD_TYPE) : ?> 2408362db4SGreg Roach<?= view('icons/source') ?> 2502467d32SGreg Roach<?php elseif ($record->tag() === Repository::RECORD_TYPE) : ?> 2608362db4SGreg Roach<?= view('icons/repository') ?> 2702467d32SGreg Roach<?php elseif ($record->tag() === Note::RECORD_TYPE) : ?> 2808362db4SGreg Roach<?= view('icons/note') ?> 2902467d32SGreg Roach<?php elseif ($record->tag() === Media::RECORD_TYPE) : ?> 3008362db4SGreg Roach<?= view('icons/media') ?> 3102467d32SGreg Roach<?php elseif ($record->tag() === Submitter::RECORD_TYPE) : ?> 3208362db4SGreg Roach<?= view('icons/submitter') ?> 33e8ded2caSGreg Roach<?php elseif ($record->tag() === Location::RECORD_TYPE) : ?> 348bbe40f8SGreg Roach<?= view('icons/location') ?> 35a27e4c49SGreg Roach<?php endif ?> 36