summaryrefslogtreecommitdiff
path: root/resources/views/places-page.phtml
diff options
context:
space:
mode:
authorRichard Cissee <ric@richard-cissee.de>2019-02-17 12:54:08 +0100
committerGreg Roach <fisharebest@webtrees.net>2019-02-23 18:37:51 +0000
commit67992b6a3e78399bd33189954a5f08bb23b02503 (patch)
treedd971ab5af9abf0430405d5c586a00119201539c /resources/views/places-page.phtml
parentc61566f94b7a422a9651b3337c0b9ef2a69ab423 (diff)
downloadwebtrees-67992b6a3e78399bd33189954a5f08bb23b02503.tar.gz
webtrees-67992b6a3e78399bd33189954a5f08bb23b02503.tar.bz2
webtrees-67992b6a3e78399bd33189954a5f08bb23b02503.zip
Lists as Modules
Diffstat (limited to 'resources/views/places-page.phtml')
-rw-r--r--resources/views/places-page.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/views/places-page.phtml b/resources/views/places-page.phtml
index 0f5a26ff18..2648f77fe5 100644
--- a/resources/views/places-page.phtml
+++ b/resources/views/places-page.phtml
@@ -5,7 +5,7 @@
<h4><?= $title ?></h4>
<h5 class="text-center">
<?php if ($current) : ?>
- <a href="<?= e(route('place-hierarchy', ['ged' => $tree->name()])) ?>">
+ <a href="<?= e(route('module', ['module' => $module, 'action' => $action, 'ged' => $tree->name()])) ?>">
<?= I18N::translate('World') ?>
</a>
<?php else : ?>
@@ -29,13 +29,13 @@
<?= $content ?>
<div class="text-center">
<?php if ($showeventslink) : ?>
- <a class="formField" href= <?= e(route('place-hierarchy', ['ged' => $tree->name(), 'parent' => $parent, 'action' => 'hierarchy-e'])) ?>>
+ <a class="formField" href= <?= e(route('module', ['module' => $module, 'action' => $action, 'ged' => $tree->name(), 'parent' => $parent, 'action2' => 'hierarchy-e'])) ?>>
<?= I18N::translate('View table of events occurring in %s', $place) ?>
</a>
|
<?php endif ?>
- <a href="<?= e(route('place-hierarchy', ['ged' => $tree->name(), 'action' => key($nextaction)])) ?>">
+ <a href="<?= e(route('module', ['module' => $module, 'action' => $action, 'ged' => $tree->name(), 'action2' => key($nextaction)])) ?>">
<?= current($nextaction) ?>
</a>
</div>