From 551002eee548f89f03a113893496f1f410c2066d 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/production-list.tpl.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 8cdefc0..788d977 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 0, "name": "Production", - "uri": "/{/lang}/backend/production/dashboard?{?}", + "uri": "{/lang}/backend/production/dashboard?{?}", "target": "self", "icon": "fa fa-fire", "order": 70, @@ -19,7 +19,7 @@ "type": 2, "subtype": 1, "name": "Production", - "uri": "/{/lang}/backend/production/list?{?}", + "uri": "{/lang}/backend/production/list?{?}", "target": "self", "icon": null, "order": 5, @@ -33,7 +33,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/production/list?{?}", + "uri": "{/lang}/backend/production/list?{?}", "target": "self", "icon": null, "order": 5, @@ -48,7 +48,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/production/create?{?}", + "uri": "{/lang}/backend/production/create?{?}", "target": "self", "icon": null, "order": 10, diff --git a/Theme/Backend/production-list.tpl.php b/Theme/Backend/production-list.tpl.php index f22fa81..f5b7fec 100644 --- a/Theme/Backend/production-list.tpl.php +++ b/Theme/Backend/production-list.tpl.php @@ -42,7 +42,7 @@ echo $this->getData('nav')->render(); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getName()); ?>