From c647a5338c1915ae1704f6ee4df00dff974594f1 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 ++++---- Interfaces/GSD/import.tpl.php | 2 +- Theme/Backend/exchange-export-list.tpl.php | 2 +- Theme/Backend/exchange-import-list.tpl.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 7d91359..6f485d5 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 1, "name": "Exchange", - "uri": "/{/lang}/backend/admin/exchange/dashboard?{?}", + "uri": "{/lang}/backend/admin/exchange/dashboard?{?}", "target": "self", "icon": null, "order": 50, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "Dashboard", - "uri": "/{/lang}/backend/admin/exchange/dashboard?{?}", + "uri": "{/lang}/backend/admin/exchange/dashboard?{?}", "target": "self", "icon": null, "order": 1, @@ -34,7 +34,7 @@ "type": 3, "subtype": 1, "name": "Import", - "uri": "/{/lang}/backend/admin/exchange/import/list?{?}", + "uri": "{/lang}/backend/admin/exchange/import/list?{?}", "target": "self", "icon": null, "order": 5, @@ -49,7 +49,7 @@ "type": 3, "subtype": 1, "name": "Export", - "uri": "/{/lang}/backend/admin/exchange/export/list?{?}", + "uri": "{/lang}/backend/admin/exchange/export/list?{?}", "target": "self", "icon": null, "order": 10, diff --git a/Interfaces/GSD/import.tpl.php b/Interfaces/GSD/import.tpl.php index f8a2033..dc19023 100644 --- a/Interfaces/GSD/import.tpl.php +++ b/Interfaces/GSD/import.tpl.php @@ -4,7 +4,7 @@

getHtml('Import') ?> - GSD

-
+ $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/exchange/export/profile?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/admin/exchange/export/profile?{?}&id=' . $value->getId()); ?> $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/exchange/import/profile?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/admin/exchange/import/profile?{?}&id=' . $value->getId()); ?>
diff --git a/Theme/Backend/exchange-export-list.tpl.php b/Theme/Backend/exchange-export-list.tpl.php index bd09eec..6ad4689 100644 --- a/Theme/Backend/exchange-export-list.tpl.php +++ b/Theme/Backend/exchange-export-list.tpl.php @@ -28,7 +28,7 @@ echo $this->getData('nav')->render(); getHtml('Title') ?>
printHtml($value->getName()); ?> diff --git a/Theme/Backend/exchange-import-list.tpl.php b/Theme/Backend/exchange-import-list.tpl.php index 3a47a13..c1d80a1 100644 --- a/Theme/Backend/exchange-import-list.tpl.php +++ b/Theme/Backend/exchange-import-list.tpl.php @@ -28,7 +28,7 @@ echo $this->getData('nav')->render(); getHtml('Title') ?>
printHtml($value->getName()); ?>