From 76b52337776b5c7d5419ea0f922774629359f0f2 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 11 Feb 2019 11:38:15 +0100 Subject: [PATCH] Fix absolute path to relative paths --- Admin/Install/Navigation.install.json | 8 ++++---- Theme/Backend/wiki-category-list.tpl.php | 2 +- Theme/Backend/wiki-dashboard.tpl.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index f10c65d..50243c6 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 1, "name": "Wiki", - "uri": "/{/lang}/backend/wiki/dashboard?{?}", + "uri": "{/lang}/backend/wiki/dashboard?{?}", "target": "self", "icon": null, "order": 50, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "Wiki", - "uri": "/{/lang}/backend/wiki/dashboard?{?}", + "uri": "{/lang}/backend/wiki/dashboard?{?}", "target": "self", "icon": null, "order": 1, @@ -34,7 +34,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/wiki/doc/create?{?}", + "uri": "{/lang}/backend/wiki/doc/create?{?}", "target": "self", "icon": null, "order": 5, @@ -49,7 +49,7 @@ "type": 3, "subtype": 1, "name": "Categories", - "uri": "/{/lang}/backend/wiki/category/list?{?}", + "uri": "{/lang}/backend/wiki/category/list?{?}", "target": "self", "icon": null, "order": 5, diff --git a/Theme/Backend/wiki-category-list.tpl.php b/Theme/Backend/wiki-category-list.tpl.php index 339c79e..b615f69 100644 --- a/Theme/Backend/wiki-category-list.tpl.php +++ b/Theme/Backend/wiki-category-list.tpl.php @@ -32,7 +32,7 @@ echo $this->getData('nav')->render(); $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/account/settings?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/admin/account/settings?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getName()); ?> diff --git a/Theme/Backend/wiki-dashboard.tpl.php b/Theme/Backend/wiki-dashboard.tpl.php index 8d6a877..982900f 100644 --- a/Theme/Backend/wiki-dashboard.tpl.php +++ b/Theme/Backend/wiki-dashboard.tpl.php @@ -7,7 +7,7 @@ echo $this->getData('nav')->render(); ?>