diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 2d25682..06c1fd7 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 0, "name": "Marketing", - "uri": "/{/lang}/backend/marketing/dashboard?{?}", + "uri": "{/lang}/backend/marketing/dashboard?{?}", "target": "self", "icon": "fa fa-paint-brush", "order": 60, @@ -19,7 +19,7 @@ "type": 2, "subtype": 1, "name": "Promotions", - "uri": "/{/lang}/backend/marketing/promotion/list?{?}", + "uri": "{/lang}/backend/marketing/promotion/list?{?}", "target": "self", "icon": null, "order": 1, @@ -33,7 +33,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/marketing/promotion/list?{?}", + "uri": "{/lang}/backend/marketing/promotion/list?{?}", "target": "self", "icon": null, "order": 1, @@ -48,7 +48,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/marketing/promotion/create?{?}", + "uri": "{/lang}/backend/marketing/promotion/create?{?}", "target": "self", "icon": null, "order": 5, @@ -65,7 +65,7 @@ "type": 2, "subtype": 1, "name": "Events", - "uri": "/{/lang}/backend/marketing/event/list?{?}", + "uri": "{/lang}/backend/marketing/event/list?{?}", "target": "self", "icon": null, "order": 5, @@ -79,7 +79,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/marketing/event/list?{?}", + "uri": "{/lang}/backend/marketing/event/list?{?}", "target": "self", "icon": null, "order": 1, @@ -94,7 +94,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/marketing/event/create?{?}", + "uri": "{/lang}/backend/marketing/event/create?{?}", "target": "self", "icon": null, "order": 5, diff --git a/Theme/Backend/event-create.tpl.php b/Theme/Backend/event-create.tpl.php index b5fa853..8e1ca23 100644 --- a/Theme/Backend/event-create.tpl.php +++ b/Theme/Backend/event-create.tpl.php @@ -21,7 +21,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('Event'); ?>

-
+
diff --git a/Theme/Backend/promotion-create.tpl.php b/Theme/Backend/promotion-create.tpl.php index 7178d9c..cae7aa2 100644 --- a/Theme/Backend/promotion-create.tpl.php +++ b/Theme/Backend/promotion-create.tpl.php @@ -21,7 +21,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('Promotion'); ?>

- + $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/marketing/promotion/profile?{?}&id=' . $value->getId());?> + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/marketing/promotion/profile?{?}&id=' . $value->getId());?>
diff --git a/Theme/Backend/promotion-list.tpl.php b/Theme/Backend/promotion-list.tpl.php index f31eeae..7656450 100644 --- a/Theme/Backend/promotion-list.tpl.php +++ b/Theme/Backend/promotion-list.tpl.php @@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?>
printHtml($value->getName()); ?> printHtml($value->getStart()->format('Y-m-d')); ?> diff --git a/Theme/Backend/promotion-profile.tpl.php b/Theme/Backend/promotion-profile.tpl.php index 7eaf71c..7ab7c5d 100644 --- a/Theme/Backend/promotion-profile.tpl.php +++ b/Theme/Backend/promotion-profile.tpl.php @@ -20,7 +20,7 @@ echo $this->getData('nav')->render(); ?>

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

- +