![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /var/www/html/webtrees/resources/views/modules/place-hierarchy/ |
Upload File : |
<?php declare(strict_types=1); use Fisharebest\Webtrees\I18N; use Fisharebest\Webtrees\Place; use Fisharebest\Webtrees\Tree; /** * @var string $alt_link * @var string $alt_url * @var array<Place> $breadcrumbs * @var string $content * @var Place|null $current * @var string $events_link * @var Place $place * @var string $title * @var Tree $tree * @var string $world_url */ ?> <div id="place-hierarchy"> <div class="container"> <h4><?= $title ?></h4> <h5 class="text-center"> <?php if ($current !== null) : ?> <a href="<?= e($world_url) ?>"> <?= I18N::translate('World') ?> </a> <?php else : ?> <?= I18N::translate('World') ?> <?php endif ?> <?php foreach ($breadcrumbs as $item) : ?> - <a href="<?= e($item->url()) ?>" dir="auto"><?= $item->placeName() ?></a> <?php endforeach ?> <?php if ($current !== null) : ?> - <?= $current->placeName() ?> <?php endif ?> </h5> <?= $content ?> <div class="text-center"> <?php if ($events_link !== '') : ?> <a class="formField" href= <?= e($events_link) ?>> <?= I18N::translate('View table of events occurring in %s', $place->fullName()) ?> </a> | <?php endif ?> <a href="<?= e($alt_url) ?>"> <?= $alt_link ?> </a> </div> </div> </div>