From ea9aad1c9a81d6fee9b9eba0d6001241a32055dc 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 | 28 ++++++++++++------------- Theme/Backend/category-list.tpl.php | 2 +- Theme/Backend/cause-list.tpl.php | 2 +- Theme/Backend/cockpit.tpl.php | 4 ++-- Theme/Backend/department-list.tpl.php | 2 +- Theme/Backend/department-single.tpl.php | 14 ++++++------- Theme/Backend/process-list.tpl.php | 2 +- Theme/Backend/project-list.tpl.php | 2 +- Theme/Backend/risk-create.tpl.php | 10 ++++----- Theme/Backend/risk-list.tpl.php | 2 +- Theme/Backend/risk-single.tpl.php | 10 ++++----- Theme/Backend/solution-list.tpl.php | 2 +- Theme/Backend/unit-list.tpl.php | 2 +- Theme/Backend/unit-single.tpl.php | 16 +++++++------- 14 files changed, 49 insertions(+), 49 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 8656744..cb52011 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 1, "name": "RiskManagement", - "uri": "/{/lang}/backend/riskmanagement/cockpit?{?}", + "uri": "{/lang}/backend/riskmanagement/cockpit?{?}", "target": "self", "icon": null, "order": 1, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "Cockpit", - "uri": "/{/lang}/backend/riskmanagement/cockpit?{?}", + "uri": "{/lang}/backend/riskmanagement/cockpit?{?}", "target": "self", "icon": null, "order": 1, @@ -34,7 +34,7 @@ "type": 3, "subtype": 1, "name": "Units", - "uri": "/{/lang}/backend/riskmanagement/unit/list?{?}", + "uri": "{/lang}/backend/riskmanagement/unit/list?{?}", "target": "self", "icon": null, "order": 5, @@ -49,7 +49,7 @@ "type": 3, "subtype": 1, "name": "Departments", - "uri": "/{/lang}/backend/riskmanagement/department/list?{?}", + "uri": "{/lang}/backend/riskmanagement/department/list?{?}", "target": "self", "icon": null, "order": 10, @@ -64,7 +64,7 @@ "type": 3, "subtype": 1, "name": "Categories", - "uri": "/{/lang}/backend/riskmanagement/category/list?{?}", + "uri": "{/lang}/backend/riskmanagement/category/list?{?}", "target": "self", "icon": null, "order": 15, @@ -79,7 +79,7 @@ "type": 3, "subtype": 1, "name": "Projects", - "uri": "/{/lang}/backend/riskmanagement/project/list?{?}", + "uri": "{/lang}/backend/riskmanagement/project/list?{?}", "target": "self", "icon": null, "order": 20, @@ -94,7 +94,7 @@ "type": 3, "subtype": 1, "name": "Processes", - "uri": "/{/lang}/backend/riskmanagement/process/list?{?}", + "uri": "{/lang}/backend/riskmanagement/process/list?{?}", "target": "self", "icon": null, "order": 25, @@ -109,7 +109,7 @@ "type": 3, "subtype": 1, "name": "Risks", - "uri": "/{/lang}/backend/riskmanagement/risk/list?{?}", + "uri": "{/lang}/backend/riskmanagement/risk/list?{?}", "target": "self", "icon": null, "order": 30, @@ -123,7 +123,7 @@ "type": 5, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/riskmanagement/risk/create?{?}", + "uri": "{/lang}/backend/riskmanagement/risk/create?{?}", "target": "self", "icon": null, "order": 1, @@ -138,7 +138,7 @@ "type": 5, "subtype": 1, "name": "Delete", - "uri": "/{/lang}/backend/riskmanagement/risk/delete?{?}", + "uri": "{/lang}/backend/riskmanagement/risk/delete?{?}", "target": "self", "icon": null, "order": 1, @@ -153,7 +153,7 @@ "type": 0, "subtype": 1, "name": "Risk", - "uri": "/{/lang}/backend/riskmanagement/risk/single/dashboard?{?}", + "uri": "{/lang}/backend/riskmanagement/risk/single/dashboard?{?}", "target": "self", "icon": null, "order": 1, @@ -170,7 +170,7 @@ "type": 3, "subtype": 1, "name": "Causes", - "uri": "/{/lang}/backend/riskmanagement/cause/list?{?}", + "uri": "{/lang}/backend/riskmanagement/cause/list?{?}", "target": "self", "icon": null, "order": 35, @@ -185,7 +185,7 @@ "type": 3, "subtype": 1, "name": "Solutions", - "uri": "/{/lang}/backend/riskmanagement/solution/list?{?}", + "uri": "{/lang}/backend/riskmanagement/solution/list?{?}", "target": "self", "icon": null, "order": 40, @@ -200,7 +200,7 @@ "type": 3, "subtype": 1, "name": "Settings", - "uri": "/{/lang}/backend/riskmanagement/settings/dashboard?{?}", + "uri": "{/lang}/backend/riskmanagement/settings/dashboard?{?}", "target": "self", "icon": null, "order": 45, diff --git a/Theme/Backend/category-list.tpl.php b/Theme/Backend/category-list.tpl.php index dca609b..893cba3 100644 --- a/Theme/Backend/category-list.tpl.php +++ b/Theme/Backend/category-list.tpl.php @@ -26,7 +26,7 @@ echo $this->getData('nav')->render(); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/category/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/category/single?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getTitle()); ?> diff --git a/Theme/Backend/cause-list.tpl.php b/Theme/Backend/cause-list.tpl.php index ef4d52c..da7bd81 100644 --- a/Theme/Backend/cause-list.tpl.php +++ b/Theme/Backend/cause-list.tpl.php @@ -27,7 +27,7 @@ echo $this->getData('nav')->render(); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getTitle()); ?> diff --git a/Theme/Backend/cockpit.tpl.php b/Theme/Backend/cockpit.tpl.php index 56e6f6a..08037b5 100644 --- a/Theme/Backend/cockpit.tpl.php +++ b/Theme/Backend/cockpit.tpl.php @@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getName()); ?> @@ -60,7 +60,7 @@ echo $this->getData('nav')->render(); ?>
diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index 8ee3041..9086912 100644 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -26,7 +26,7 @@ echo $this->getData('nav')->render(); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/department/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/department/single?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getDepartment()->getName()); ?> diff --git a/Theme/Backend/department-single.tpl.php b/Theme/Backend/department-single.tpl.php index f5c028e..217ad8b 100644 --- a/Theme/Backend/department-single.tpl.php +++ b/Theme/Backend/department-single.tpl.php @@ -34,7 +34,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('Department') ?>

-
+ $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/category/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/category/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/project/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/project/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/process/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/process/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/solution/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/solution/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/process/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/process/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/project/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/project/single?{?}&id=' . $value->getId()); ?>
getHtml('Name') ?>printHtml($department->getDepartment()->getName()); ?> @@ -110,7 +110,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getName()); ?> @@ -141,7 +141,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getTitle()); ?> @@ -169,7 +169,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getProject()->getName()); ?> @@ -197,7 +197,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getTitle()); ?> @@ -226,7 +226,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getTitle()); ?> @@ -257,7 +257,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getTitle()); ?> diff --git a/Theme/Backend/process-list.tpl.php b/Theme/Backend/process-list.tpl.php index 8e66662..0accbf8 100644 --- a/Theme/Backend/process-list.tpl.php +++ b/Theme/Backend/process-list.tpl.php @@ -26,7 +26,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getTitle()); ?> diff --git a/Theme/Backend/project-list.tpl.php b/Theme/Backend/project-list.tpl.php index dd2ea8f..b8c9ec3 100644 --- a/Theme/Backend/project-list.tpl.php +++ b/Theme/Backend/project-list.tpl.php @@ -26,7 +26,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getProject()->getName()); ?> diff --git a/Theme/Backend/risk-create.tpl.php b/Theme/Backend/risk-create.tpl.php index fdcf55f..0edfc4d 100644 --- a/Theme/Backend/risk-create.tpl.php +++ b/Theme/Backend/risk-create.tpl.php @@ -31,7 +31,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('Risk') ?>

- +
@@ -105,7 +105,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('RiskStatus') ?>

- +
@@ -160,7 +160,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('RiskObjects') ?>

- +
@@ -201,7 +201,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('RiskObjectStatus') ?>

- +
@@ -246,7 +246,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('Solution') ?>

- + $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/risk/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/risk/single?{?}&id=' . $value->getId()); ?>
diff --git a/Theme/Backend/risk-list.tpl.php b/Theme/Backend/risk-list.tpl.php index 635b35e..2b096c4 100644 --- a/Theme/Backend/risk-list.tpl.php +++ b/Theme/Backend/risk-list.tpl.php @@ -29,7 +29,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getName()); ?> diff --git a/Theme/Backend/risk-single.tpl.php b/Theme/Backend/risk-single.tpl.php index 24099ab..536b61a 100644 --- a/Theme/Backend/risk-single.tpl.php +++ b/Theme/Backend/risk-single.tpl.php @@ -32,7 +32,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('Risk') ?>

- +
getHtml('Name') ?>printHtml($risk->getName()); ?> @@ -96,7 +96,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('RiskStatus') ?>

- +
@@ -151,7 +151,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('RiskObjects') ?>

- +
@@ -192,7 +192,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('RiskObjectStatus') ?>

- +
@@ -237,7 +237,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('Solution') ?>

- + $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/solution/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/solution/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/unit/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/unit/single?{?}&id=' . $value->getId()); ?>
diff --git a/Theme/Backend/solution-list.tpl.php b/Theme/Backend/solution-list.tpl.php index cbde954..6f9e67b 100644 --- a/Theme/Backend/solution-list.tpl.php +++ b/Theme/Backend/solution-list.tpl.php @@ -29,7 +29,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getTitle()); ?> diff --git a/Theme/Backend/unit-list.tpl.php b/Theme/Backend/unit-list.tpl.php index a433010..6856ff5 100644 --- a/Theme/Backend/unit-list.tpl.php +++ b/Theme/Backend/unit-list.tpl.php @@ -26,7 +26,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getName()); ?> diff --git a/Theme/Backend/unit-single.tpl.php b/Theme/Backend/unit-single.tpl.php index a363e93..eab2996 100644 --- a/Theme/Backend/unit-single.tpl.php +++ b/Theme/Backend/unit-single.tpl.php @@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('Unit') ?>

- + $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/department/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/department/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/category/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/category/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/project/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/project/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/process/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/process/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/cause/single?{?}&id=' . $value->getId()); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/riskmanagement/solution/single?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/riskmanagement/solution/single?{?}&id=' . $value->getId()); ?>
getHtml('Name') ?>printHtml($unit->getName()); ?> @@ -111,7 +111,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getName()); ?> @@ -142,7 +142,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getDepartment()->getName()); ?> @@ -170,7 +170,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getTitle()); ?> @@ -198,7 +198,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getProject()->getName()); ?> @@ -226,7 +226,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getTitle()); ?> @@ -255,7 +255,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getTitle()); ?> @@ -286,7 +286,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getId()); ?> printHtml($value->getTitle()); ?>