blob: 087899f128be9aa440065f2321b40ebff4775059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
<?php
use Fisharebest\Webtrees\I18N; ?>
<div id="place-hierarchy">
<div class="container">
<h4><?= $title ?></h4>
<h5 class="text-center">
<?php if ($current) : ?>
<a href="<?= e(route('module', ['module' => $module, 'action' => $action, 'tree' => $tree->name()])) ?>">
<?= 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) : ?>
- <?= $current->placeName() ?>
<?php endif ?>
</h5>
<?php if ($note) : ?>
<div class="text-center small text-muted">
<?= I18N::translate('Places without valid co-ordinates are not shown on the map and have a red border around the sidebar entry') ?>
</div>
<?php endif ?>
<?= $content ?>
<div class="text-center">
<?php if ($showeventslink) : ?>
<a class="formField" href= <?= e(route('module', ['module' => $module, 'action' => $action, 'tree' => $tree->name(), 'parent' => $parent, 'action2' => 'hierarchy-e'])) ?>>
<?= I18N::translate('View table of events occurring in %s', $place) ?>
</a>
|
<?php endif ?>
<a href="<?= e(route('module', ['module' => $module, 'action' => $action, 'tree' => $tree->name(), 'action2' => key($nextaction)])) ?>">
<?= current($nextaction) ?>
</a>
</div>
</div>
</div>
|