From ecfa151c3042b07e2b67d02f930296c777c60d78 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 8 Nov 2017 22:39:51 +0100 Subject: [PATCH] Fix #13 --- Admin/Install/Navigation.install.json | 6 +++--- Theme/Backend/rnd-list.tpl.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index a9edd37..7f6f9e8 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -19,7 +19,7 @@ "type": 2, "subtype": 1, "name": "Projects", - "uri": "{/base}/{/lang}/backend/rnd/list?{?}", + "uri": "/{/lang}/backend/rnd/list?{?}", "target": "self", "icon": null, "order": 1, @@ -33,7 +33,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "{/base}/{/lang}/backend/rnd/list?{?}", + "uri": "/{/lang}/backend/rnd/list?{?}", "target": "self", "icon": null, "order": 1, @@ -48,7 +48,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "{/base}/{/lang}/backend/rnd/create?{?}", + "uri": "/{/lang}/backend/rnd/create?{?}", "target": "self", "icon": null, "order": 5, diff --git a/Theme/Backend/rnd-list.tpl.php b/Theme/Backend/rnd-list.tpl.php index 2b7df57..d8e4072 100644 --- a/Theme/Backend/rnd-list.tpl.php +++ b/Theme/Backend/rnd-list.tpl.php @@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?> render(); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/checklist/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/checklist/single?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getName()); ?>