diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 19:20:30 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 19:20:30 +0100 |
commit | cea923a1e82a7e8ce696418c3a5a0f7703871101 (patch) | |
tree | ee2b38865867119a682cb1f97a40522e2bf0f03d /app/view | |
parent | 45903fe3960b65d63f70188640630c895dbbe222 (diff) | |
download | wcms-cea923a1e82a7e8ce696418c3a5a0f7703871101.tar.gz wcms-cea923a1e82a7e8ce696418c3a5a0f7703871101.zip |
correct-basepath
Diffstat (limited to 'app/view')
-rw-r--r-- | app/view/templates/navart.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/view/templates/navart.php b/app/view/templates/navart.php index 469139d..6f4388c 100644 --- a/app/view/templates/navart.php +++ b/app/view/templates/navart.php @@ -26,7 +26,7 @@ div#dropmenu { <ul> <li> - <a class="button" href="./">home</a> + <a class="button" href="<?= $this->url('backrouter') ?>">home</a> </li> @@ -53,10 +53,10 @@ div#dropmenu { <?php if($user->canedit() && $artexist) { ?> <li> - <a class="button" href="<?= $router->generate('artread/', ['art' => $art->id()]) ?>" target="_blank">display</a> + <a class="button" href="<?= $this->url('artread/', ['art' => $art->id()]) ?>" target="_blank">display</a> </li> <li> - <a class="button" href="<?= $router->generate('artedit/', ['art' => $art->id()]) ?>" >edit</a> + <a class="button" href="<?= $this->url('artedit/', ['art' => $art->id()]) ?>" >edit</a> </li> <?php } ?> |