diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php new file mode 100644 index 0000000..66aae9c --- /dev/null +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -0,0 +1,22 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Navigation'] = [ + 'Analysis' => 'Analysis', + 'Create' => 'Create', + 'Events' => 'Events', + 'Marketing' => 'Marketing', + 'Promotions' => 'Promotions', +]; diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php new file mode 100644 index 0000000..eea62f6 --- /dev/null +++ b/Theme/Backend/Lang/api.en.lang.php @@ -0,0 +1,17 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG[1] = [ +]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php new file mode 100644 index 0000000..e25baa2 --- /dev/null +++ b/Theme/Backend/Lang/en.lang.php @@ -0,0 +1,31 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Marketing'] = [ + 'Budget' => 'Budget', + 'Description' => 'Description', + 'Expenses' => 'Expenses', + 'End' => 'End', + 'Event' => 'Event', + 'Events' => 'Events', + 'Limit' => 'Limit', + 'Location' => 'Location', + 'Promotion' => 'Promotion', + 'Sales' => 'Sales', + 'Start' => 'Start', + 'Status' => 'Status', + 'Title' => 'Title', + 'Type' => 'Type', +]; diff --git a/Theme/Backend/event-create.tpl.php b/Theme/Backend/event-create.tpl.php new file mode 100644 index 0000000..dd2c14f --- /dev/null +++ b/Theme/Backend/event-create.tpl.php @@ -0,0 +1,41 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + */ + +echo $this->getData('nav')->render(); ?> + +
+

l11n->lang['Marketing']['Event'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Theme/Backend/event-list.tpl.php b/Theme/Backend/event-list.tpl.php new file mode 100644 index 0000000..207154f --- /dev/null +++ b/Theme/Backend/event-list.tpl.php @@ -0,0 +1,48 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); +$footerView->setPages(20); +$footerView->setPage(1); + +echo $this->getData('nav')->render(); ?> + +
+ + + + + + + + $value) : $count++; ?> + + +
l11n->lang['Marketing']['Events'] ?>
l11n->lang['Marketing']['Status']; ?> + l11n->lang['Marketing']['Type']; ?> + l11n->lang['Marketing']['Title']; ?> + l11n->lang['Marketing']['Start']; ?> + l11n->lang['Marketing']['End']; ?> + l11n->lang['Marketing']['Location']; ?> + l11n->lang['Marketing']['Expenses']; ?> + l11n->lang['Marketing']['Sales']; ?> + l11n->lang['Marketing']['Budget']; ?> +
render(); ?> +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/event-profile.tpl.php b/Theme/Backend/event-profile.tpl.php new file mode 100644 index 0000000..e69de29 diff --git a/Theme/Backend/promotion-create.tpl.php b/Theme/Backend/promotion-create.tpl.php new file mode 100644 index 0000000..cffd590 --- /dev/null +++ b/Theme/Backend/promotion-create.tpl.php @@ -0,0 +1,44 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + */ + +echo $this->getData('nav')->render(); ?> + +
+

l11n->lang['Marketing']['Promotion'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Theme/Backend/promotion-list.tpl.php b/Theme/Backend/promotion-list.tpl.php new file mode 100644 index 0000000..4401630 --- /dev/null +++ b/Theme/Backend/promotion-list.tpl.php @@ -0,0 +1,46 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); +$footerView->setPages(20); +$footerView->setPage(1); + +echo $this->getData('nav')->render(); ?> + +
+ + + + + + + + $value) : $count++; ?> + + +
l11n->lang['Marketing']['Events'] ?>
l11n->lang['Marketing']['Status']; ?> + l11n->lang['Marketing']['Title']; ?> + l11n->lang['Marketing']['Start']; ?> + l11n->lang['Marketing']['End']; ?> + l11n->lang['Marketing']['Expenses']; ?> + l11n->lang['Marketing']['Sales']; ?> + l11n->lang['Marketing']['Budget']; ?> +
render(); ?> +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/promotion-profile.tpl.php b/Theme/Backend/promotion-profile.tpl.php new file mode 100644 index 0000000..e69de29