diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 4225a7a..7c3fd77 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -19,7 +19,7 @@ "type": 2, "subtype": 1, "name": "Units", - "uri": "/{/lang}/backend/organization/unit/list?{?}", + "uri": "{/base}/{/lang}/backend/organization/unit/list?{?}", "target": "self", "icon": null, "order": 1, @@ -33,7 +33,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/organization/unit/list?{?}", + "uri": "{/base}/{/lang}/backend/organization/unit/list?{?}", "target": "self", "icon": null, "order": 5, @@ -48,7 +48,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/organization/unit/create?{?}", + "uri": "{/base}/{/lang}/backend/organization/unit/create?{?}", "target": "self", "icon": null, "order": 25, @@ -65,7 +65,7 @@ "type": 2, "subtype": 1, "name": "Departments", - "uri": "/{/lang}/backend/organization/department/list?{?}", + "uri": "{/base}/{/lang}/backend/organization/department/list?{?}", "target": "self", "icon": null, "order": 5, @@ -79,7 +79,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/organization/department/list?{?}", + "uri": "{/base}/{/lang}/backend/organization/department/list?{?}", "target": "self", "icon": null, "order": 5, @@ -94,7 +94,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/organization/department/create?{?}", + "uri": "{/base}/{/lang}/backend/organization/department/create?{?}", "target": "self", "icon": null, "order": 25, @@ -111,7 +111,7 @@ "type": 2, "subtype": 1, "name": "Positions", - "uri": "/{/lang}/backend/organization/position/list?{?}", + "uri": "{/base}/{/lang}/backend/organization/position/list?{?}", "target": "self", "icon": null, "order": 20, @@ -125,7 +125,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/organization/position/list?{?}", + "uri": "{/base}/{/lang}/backend/organization/position/list?{?}", "target": "self", "icon": null, "order": 5, @@ -140,7 +140,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/organization/position/create?{?}", + "uri": "{/base}/{/lang}/backend/organization/position/create?{?}", "target": "self", "icon": null, "order": 25, diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index 3a905e4..cfbad5e 100644 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> render(); ?> getData('list:elements') as $key => $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/department/profile?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/organization/department/profile?{?}&id=' . $value->getId()); ?> getId(); ?> getName(); ?> diff --git a/Theme/Backend/position-list.tpl.php b/Theme/Backend/position-list.tpl.php index 901ac4d..1489f63 100644 --- a/Theme/Backend/position-list.tpl.php +++ b/Theme/Backend/position-list.tpl.php @@ -42,7 +42,7 @@ echo $this->getData('nav')->render(); ?> render(); ?> $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/position/profile?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/organization/position/profile?{?}&id=' . $value->getId()); ?> getId(); ?> getName(); ?> diff --git a/Theme/Backend/unit-list.tpl.php b/Theme/Backend/unit-list.tpl.php index 0d9489e..fea2cdb 100644 --- a/Theme/Backend/unit-list.tpl.php +++ b/Theme/Backend/unit-list.tpl.php @@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?> render(); ?> getData('list:elements') as $key => $value) : - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/unit/profile?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/organization/unit/profile?{?}&id=' . $value->getId()); ?> getId(); ?> getName(); ?>