From 6e7a833f0455be1ca513f3c4214f13d10e05f280 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 | 6 +++--- Theme/Backend/projectmanagement-list.tpl.php | 2 +- Theme/Backend/projectmanagement-profile.tpl.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 3330477..78f4fed 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 1, "name": "ProjectManagement", - "uri": "/{/lang}/backend/projectmanagement/list?{?}", + "uri": "{/lang}/backend/projectmanagement/list?{?}", "target": "self", "icon": null, "order": 60, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/projectmanagement/list?{?}", + "uri": "{/lang}/backend/projectmanagement/list?{?}", "target": "self", "icon": null, "order": 1, @@ -34,7 +34,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/projectmanagement/create?{?}", + "uri": "{/lang}/backend/projectmanagement/create?{?}", "target": "self", "icon": null, "order": 5, diff --git a/Theme/Backend/projectmanagement-list.tpl.php b/Theme/Backend/projectmanagement-list.tpl.php index 15d552a..e145636 100644 --- a/Theme/Backend/projectmanagement-list.tpl.php +++ b/Theme/Backend/projectmanagement-list.tpl.php @@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?> $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/projectmanagement/profile?{?}&id=' . $value->getId());?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/projectmanagement/profile?{?}&id=' . $value->getId());?> printHtml($value->getName()); ?> printHtml($value->getStart()->format('Y-m-d')); ?> diff --git a/Theme/Backend/projectmanagement-profile.tpl.php b/Theme/Backend/projectmanagement-profile.tpl.php index ee64834..1afbb3f 100644 --- a/Theme/Backend/projectmanagement-profile.tpl.php +++ b/Theme/Backend/projectmanagement-profile.tpl.php @@ -19,7 +19,7 @@ echo $this->getData('nav')->render(); ?>

printHtml($project->getName()); ?>

-
+