From 42f1749a548acebcdfc1c83c1a3e77aec8df4921 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 30 May 2017 18:21:27 +0200 Subject: [PATCH] fixes #62 --- Admin/Install/Navigation.install.json | 8 ++++---- Theme/Backend/profile-list.tpl.php | 2 +- Theme/Backend/profile-single.tpl.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index d58c6d8..4babf16 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 1, "name": "Profiles", - "uri": "/{/lang}/backend/profile/list?{?}", + "uri": "{/base}/{/lang}/backend/profile/list?{?}", "target": "self", "icon": null, "order": 10, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/profile/list?{?}", + "uri": "{/base}/{/lang}/backend/profile/list?{?}", "target": "self", "icon": null, "order": 1, @@ -34,7 +34,7 @@ "type": 5, "subtype": 1, "name": "Profile", - "uri": "/{/lang}/backend/profile/single/front?{?}", + "uri": "{/base}/{/lang}/backend/profile/single/front?{?}", "target": "self", "icon": null, "order": 3, @@ -49,7 +49,7 @@ "type": 5, "subtype": 1, "name": "Settings", - "uri": "/{/lang}/backend/profile/single/settings?{?}", + "uri": "{/base}/{/lang}/backend/profile/single/settings?{?}", "target": "self", "icon": null, "order": 999, diff --git a/Theme/Backend/profile-list.tpl.php b/Theme/Backend/profile-list.tpl.php index 453d9ef..9702373 100644 --- a/Theme/Backend/profile-list.tpl.php +++ b/Theme/Backend/profile-list.tpl.php @@ -40,7 +40,7 @@ $accounts = $this->getData('accounts'); render(); ?> $account) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/profile/single?{?}&id=' . $account->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/profile/single?{?}&id=' . $account->getId()); ?> getId(); ?> getName3() . ' ' . $account->getName2() . ' ' . $account->getName1(); ?> diff --git a/Theme/Backend/profile-single.tpl.php b/Theme/Backend/profile-single.tpl.php index f5bfaa8..a82fcdb 100644 --- a/Theme/Backend/profile-single.tpl.php +++ b/Theme/Backend/profile-single.tpl.php @@ -100,7 +100,7 @@ echo $this->getData('nav')->render(); render(); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?> getId(); ?> getNewestHistory()->getPosition(); ?>