diff --git a/Admin/Activate.php b/Admin/Activate.php deleted file mode 100644 index 465295f..0000000 --- a/Admin/Activate.php +++ /dev/null @@ -1,44 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Marketing\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\ActivateAbstract; -use phpOMS\Module\InfoManager; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Activate extends ActivateAbstract -{ - - /** - * {@inheritdoc} - */ - public static function activate(DatabasePool $dbPool, InfoManager $info) - { - parent::activate($dbPool, $info); - } -} diff --git a/Admin/Deactivate.php b/Admin/Deactivate.php deleted file mode 100644 index 3ebcd89..0000000 --- a/Admin/Deactivate.php +++ /dev/null @@ -1,44 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Marketing\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\DeactivateAbstract; -use phpOMS\Module\InfoManager; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Deactivate extends DeactivateAbstract -{ - - /** - * {@inheritdoc} - */ - public static function deactivate(DatabasePool $dbPool, InfoManager $info) - { - parent::deactivate($dbPool, $info); - } -} diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json deleted file mode 100644 index 9d870f0..0000000 --- a/Admin/Install/Navigation.install.json +++ /dev/null @@ -1,110 +0,0 @@ -[ - { - "id": 1001901001, - "pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd", - "type": 2, - "subtype": 0, - "name": "Marketing", - "uri": "/{/lang}/backend/marketing/dashboard?{?}", - "target": "self", - "icon": "fa fa-paint-brush", - "order": 60, - "from": 1001900000, - "permission": null, - "parent": 1000201001, - "children": [ - { - "id": 1001902001, - "pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd", - "type": 2, - "subtype": 1, - "name": "Promotions", - "uri": "/{/lang}/backend/marketing/promotion/list?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1001900000, - "permission": null, - "parent": 1001901001, - "children": [ - { - "id": 1001902101, - "pid": "5c1412dc489ced2edd20a6883bf5a394011f5235", - "type": 3, - "subtype": 1, - "name": "List", - "uri": "/{/lang}/backend/marketing/promotion/list?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1001900000, - "permission": null, - "parent": 1001902001, - "children": [] - }, - { - "id": 1001902201, - "pid": "5c1412dc489ced2edd20a6883bf5a394011f5235", - "type": 3, - "subtype": 1, - "name": "Create", - "uri": "/{/lang}/backend/marketing/promotion/create?{?}", - "target": "self", - "icon": null, - "order": 5, - "from": 1001900000, - "permission": null, - "parent": 1001902001, - "children": [] - } - ] - }, - { - "id": 1001903001, - "pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd", - "type": 2, - "subtype": 1, - "name": "Events", - "uri": "/{/lang}/backend/marketing/event/list?{?}", - "target": "self", - "icon": null, - "order": 5, - "from": 1001900000, - "permission": null, - "parent": 1001901001, - "children": [ - { - "id": 1001903101, - "pid": "083a414f7b324d073baab24daeab1a7d99d2bb8f", - "type": 3, - "subtype": 1, - "name": "List", - "uri": "/{/lang}/backend/marketing/event/list?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1001900000, - "permission": null, - "parent": 1001903001, - "children": [] - }, - { - "id": 1001903201, - "pid": "083a414f7b324d073baab24daeab1a7d99d2bb8f", - "type": 3, - "subtype": 1, - "name": "Create", - "uri": "/{/lang}/backend/marketing/event/create?{?}", - "target": "self", - "icon": null, - "order": 5, - "from": 1001900000, - "permission": null, - "parent": 1001903001, - "children": [] - } - ] - } - ] - } -] diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php deleted file mode 100644 index eb6749a..0000000 --- a/Admin/Install/Navigation.php +++ /dev/null @@ -1,40 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Marketing\Admin\Install; -use phpOMS\DataStorage\Database\DatabasePool; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Navigation -{ - public static function install(string $path, DatabasePool $dbPool) - { - $navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true); - - $class = '\\Modules\\Navigation\\Admin\\Installer'; - /** @var $class \Modules\Navigation\Admin\Installer */ - $class::installExternal($dbPool, $navData); - } -} diff --git a/Admin/Installer.php b/Admin/Installer.php deleted file mode 100644 index c19cb82..0000000 --- a/Admin/Installer.php +++ /dev/null @@ -1,60 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Marketing\Admin; - -use phpOMS\DataStorage\Database\DatabaseType; -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\InfoManager; -use phpOMS\Module\InstallerAbstract; - -/** - * Marketing install class. - * - * @category Modules - * @package Modules\Marketing - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Installer extends InstallerAbstract -{ - - /** - * {@inheritdoc} - */ - public static function install(string $path, DatabasePool $dbPool, InfoManager $info) - { - parent::install($path, $dbPool, $info); - - switch ($dbPool->get('core')->getType()) { - case DatabaseType::MYSQL: - $dbPool->get('core')->con->prepare( - 'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'marketing_promotion` ( - `marketing_promotion_id` int(11) NOT NULL AUTO_INCREMENT, - `marketing_promotion_name` varchar(30) NOT NULL, - `marketing_promotion_description` text DEFAULT NULL, - `marketing_promotion_start` datetime DEFAULT NULL, - `marketing_promotion_end` datetime DEFAULT NULL, - `marketing_promotion_type` tinyint(1) DEFAULT NULL, - PRIMARY KEY (`marketing_promotion_id`) - )ENGINE=InnoDB DEFAULT CHARSET=utf8;' - )->execute(); - break; - } - } -} diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php deleted file mode 100644 index de21568..0000000 --- a/Admin/Routes/Web/Backend.php +++ /dev/null @@ -1,30 +0,0 @@ - [ - [ - 'dest' => '\Modules\Marketing\Controller:viewMarketingPromotionList', - 'verb' => RouteVerb::GET, - ], - ], - '^.*/backend/marketing/promotion/create.*$' => [ - [ - 'dest' => '\Modules\Marketing\Controller:viewMarketingPromotionCreate', - 'verb' => RouteVerb::GET, - ], - ], - '^.*/backend/marketing/event/list.*$' => [ - [ - 'dest' => '\Modules\Marketing\Controller:viewMarketingEventList', - 'verb' => RouteVerb::GET, - ], - ], - '^.*/backend/marketing/event/create.*$' => [ - [ - 'dest' => '\Modules\Marketing\Controller:viewMarketingEventCreate', - 'verb' => RouteVerb::GET, - ], - ], -]; diff --git a/Admin/Routes/console.php b/Admin/Routes/console.php deleted file mode 100644 index 1ecbfac..0000000 --- a/Admin/Routes/console.php +++ /dev/null @@ -1,3 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Marketing\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\DataStorage\Database\Schema\Builder; -use phpOMS\Module\UninstallAbstract; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Uninstall extends UninstallAbstract -{ - - /** - * {@inheritdoc} - */ - public static function uninstall(DatabasePool $dbPool, InfoManager $info) - { - parent::uninstall($dbPool, $info); - - $query = new Builder($dbPool->get()); - - $query->prefix($dbPool->get('core')->getPrefix())->drop( - 'marketing_promotion' - ); - - $dbPool->get()->con->prepare($query->toSql())->execute(); - } -} diff --git a/Admin/Update.php b/Admin/Update.php deleted file mode 100644 index 8d29407..0000000 --- a/Admin/Update.php +++ /dev/null @@ -1,46 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Marketing\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\UpdateAbstract; -use phpOMS\System\File\Directory; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Update extends UpdateAbstract -{ - - /** - * {@inheritdoc} - */ - public static function update(DatabasePool $dbPool, array $info) - { - Directory::deletePath(__DIR__ . '/Update'); - mkdir('Update'); - parent::update($dbPool, $info); - } -} diff --git a/Controller.php b/Controller.php deleted file mode 100644 index 32aecea..0000000 --- a/Controller.php +++ /dev/null @@ -1,159 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Marketing; - -use Modules\Navigation\Models\Navigation; -use Modules\Navigation\Views\NavigationView; -use phpOMS\Contract\RenderableInterface; -use phpOMS\Message\RequestAbstract; -use phpOMS\Message\ResponseAbstract; -use phpOMS\Module\ModuleAbstract; -use phpOMS\Module\WebInterface; -use phpOMS\Views\View; -use phpOMS\Views\ViewLayout; - -/** - * Marketing controller class. - * - * @category Modules - * @package Modules\Marketing - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Controller extends ModuleAbstract implements WebInterface -{ - - /** - * Module path. - * - * @var string - * @since 1.0.0 - */ - /* public */ const MODULE_PATH = __DIR__; - - /** - * Module version. - * - * @var string - * @since 1.0.0 - */ - /* public */ const MODULE_VERSION = '1.0.0'; - - /** - * Module name. - * - * @var string - * @since 1.0.0 - */ - /* public */ const MODULE_NAME = 'Marketing'; - - /** - * Providing. - * - * @var string - * @since 1.0.0 - */ - protected static $providing = []; - - /** - * Dependencies. - * - * @var string - * @since 1.0.0 - */ - protected static $dependencies = [ - ]; - - /** - * @param RequestAbstract $request Request - * @param ResponseAbstract $response Response - * @param mixed $data Generic data - * - * @return RenderableInterface - * - * @since 1.0.0 - * @author Dennis Eichhorn - */ - public function viewMarketingPromotionList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable - { - $view = new View($this->app, $request, $response); - $view->setTemplate('/Modules/Marketing/Theme/Backend/promotion-list'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1001902001, $request, $response)); - - return $view; - } - - /** - * @param RequestAbstract $request Request - * @param ResponseAbstract $response Response - * @param mixed $data Generic data - * - * @return RenderableInterface - * - * @since 1.0.0 - * @author Dennis Eichhorn - */ - public function viewMarketingPromotionCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable - { - $view = new View($this->app, $request, $response); - $view->setTemplate('/Modules/Marketing/Theme/Backend/promotion-create'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1001902001, $request, $response)); - - return $view; - } - - /** - * @param RequestAbstract $request Request - * @param ResponseAbstract $response Response - * @param mixed $data Generic data - * - * @return RenderableInterface - * - * @since 1.0.0 - * @author Dennis Eichhorn - */ - public function viewMarketingEventList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable - { - $view = new View($this->app, $request, $response); - $view->setTemplate('/Modules/Marketing/Theme/Backend/event-list'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1001903001, $request, $response)); - - return $view; - } - - /** - * @param RequestAbstract $request Request - * @param ResponseAbstract $response Response - * @param mixed $data Generic data - * - * @return RenderableInterface - * - * @since 1.0.0 - * @author Dennis Eichhorn - */ - public function viewMarketingEventCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable - { - $view = new View($this->app, $request, $response); - $view->setTemplate('/Modules/Marketing/Theme/Backend/event-create'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1001903001, $request, $response)); - - return $view; - } - -} diff --git a/README.md b/README.md deleted file mode 100644 index 81f4c20..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# Marketing # diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php deleted file mode 100644 index 63c9dd9..0000000 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ /dev/null @@ -1,22 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -return ['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 deleted file mode 100644 index afe845f..0000000 --- a/Theme/Backend/Lang/api.en.lang.php +++ /dev/null @@ -1,17 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright 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 deleted file mode 100644 index 38a6f00..0000000 --- a/Theme/Backend/Lang/en.lang.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -return ['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 deleted file mode 100644 index 9f20707..0000000 --- a/Theme/Backend/event-create.tpl.php +++ /dev/null @@ -1,45 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright 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(); ?> - -
-
-
-

getText('Event') ?>

-
-
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/Theme/Backend/event-list.tpl.php b/Theme/Backend/event-list.tpl.php deleted file mode 100644 index 034fd7c..0000000 --- a/Theme/Backend/event-list.tpl.php +++ /dev/null @@ -1,52 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright 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++; ?> - - -
getText('Events') ?>
getText('Status'); ?> - getText('Type'); ?> - getText('Title'); ?> - getText('Start'); ?> - getText('End'); ?> - getText('Location'); ?> - getText('Expenses'); ?> - getText('Sales'); ?> - getText('Budget'); ?> -
render(); ?> -
getText('Empty', 0, 0); ?> - -
-
-
-
diff --git a/Theme/Backend/event-profile.tpl.php b/Theme/Backend/event-profile.tpl.php deleted file mode 100644 index e69de29..0000000 diff --git a/Theme/Backend/promotion-create.tpl.php b/Theme/Backend/promotion-create.tpl.php deleted file mode 100644 index 7978c56..0000000 --- a/Theme/Backend/promotion-create.tpl.php +++ /dev/null @@ -1,48 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright 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(); ?> - -
-
-
-

getText('Promotion') ?>

-
-
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/Theme/Backend/promotion-list.tpl.php b/Theme/Backend/promotion-list.tpl.php deleted file mode 100644 index f36fc53..0000000 --- a/Theme/Backend/promotion-list.tpl.php +++ /dev/null @@ -1,50 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright 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++; ?> - - -
getText('Events') ?>
getText('Status'); ?> - getText('Title'); ?> - getText('Start'); ?> - getText('End'); ?> - getText('Expenses'); ?> - getText('Sales'); ?> - getText('Budget'); ?> -
render(); ?> -
getText('Empty', 0, 0); ?> - -
-
-
-
\ No newline at end of file diff --git a/Theme/Backend/promotion-profile.tpl.php b/Theme/Backend/promotion-profile.tpl.php deleted file mode 100644 index e69de29..0000000 diff --git a/Theme/backend/Lang/Navigation.en.lang.php b/Theme/backend/Lang/Navigation.en.lang.php deleted file mode 100644 index 63c9dd9..0000000 --- a/Theme/backend/Lang/Navigation.en.lang.php +++ /dev/null @@ -1,22 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -return ['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 deleted file mode 100644 index afe845f..0000000 --- a/Theme/backend/Lang/api.en.lang.php +++ /dev/null @@ -1,17 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright 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 deleted file mode 100644 index 38a6f00..0000000 --- a/Theme/backend/Lang/en.lang.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -return ['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 deleted file mode 100644 index 9f20707..0000000 --- a/Theme/backend/event-create.tpl.php +++ /dev/null @@ -1,45 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright 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(); ?> - -
-
-
-

getText('Event') ?>

-
-
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/Theme/backend/event-list.tpl.php b/Theme/backend/event-list.tpl.php deleted file mode 100644 index 034fd7c..0000000 --- a/Theme/backend/event-list.tpl.php +++ /dev/null @@ -1,52 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright 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++; ?> - - -
getText('Events') ?>
getText('Status'); ?> - getText('Type'); ?> - getText('Title'); ?> - getText('Start'); ?> - getText('End'); ?> - getText('Location'); ?> - getText('Expenses'); ?> - getText('Sales'); ?> - getText('Budget'); ?> -
render(); ?> -
getText('Empty', 0, 0); ?> - -
-
-
-
diff --git a/Theme/backend/event-profile.tpl.php b/Theme/backend/event-profile.tpl.php deleted file mode 100644 index e69de29..0000000 diff --git a/Theme/backend/promotion-create.tpl.php b/Theme/backend/promotion-create.tpl.php deleted file mode 100644 index 7978c56..0000000 --- a/Theme/backend/promotion-create.tpl.php +++ /dev/null @@ -1,48 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright 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(); ?> - -
-
-
-

getText('Promotion') ?>

-
-
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file diff --git a/Theme/backend/promotion-list.tpl.php b/Theme/backend/promotion-list.tpl.php deleted file mode 100644 index f36fc53..0000000 --- a/Theme/backend/promotion-list.tpl.php +++ /dev/null @@ -1,50 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright 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++; ?> - - -
getText('Events') ?>
getText('Status'); ?> - getText('Title'); ?> - getText('Start'); ?> - getText('End'); ?> - getText('Expenses'); ?> - getText('Sales'); ?> - getText('Budget'); ?> -
render(); ?> -
getText('Empty', 0, 0); ?> - -
-
-
-
\ No newline at end of file diff --git a/Theme/backend/promotion-profile.tpl.php b/Theme/backend/promotion-profile.tpl.php deleted file mode 100644 index e69de29..0000000 diff --git a/img/module_teaser_small.png b/img/module_teaser_small.png deleted file mode 100644 index f56e6ff..0000000 Binary files a/img/module_teaser_small.png and /dev/null differ diff --git a/info.json b/info.json deleted file mode 100644 index ba3f616..0000000 --- a/info.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": { - "id": 1001900000, - "internal": "Marketing", - "external": "OMS Marketing" - }, - "version": "1.0.0", - "requirements": { - "phpOMS": "1.0.0", - "phpOMS-db": "1.0.0" - }, - "creator": { - "name": "Orange Management", - "website": "www.spl1nes.com" - }, - "description": "Marketing module.", - "directory": "Marketing", - "dependencies": { - "Admin" : "1.0.0" - }, - "providing": { - "Navigation": "*" - }, - "load": [ - { - "pid": [ - "86580a45c595de69f4c48de08117379cdfa43e47" - ], - "type": 4, - "for": 0, - "from": "Marketing", - "file": "Marketing" - }, - { - "pid": [ - "754a08ddf8bcb1cf22f310f09206dd783d42f7dd" - ], - "type": 5, - "from": "Marketing", - "for": "Navigation", - "file": "Navigation" - } - ] -}