<?php declare_module('tim', array('name' => __('Theme Option Manager'), 'author' => 'Tendoo Luminax Group', 'description' => __('This module let you customize your theme.'), 'has_widget' => TRUE, 'has_api' => TRUE, 'has_icon' => TRUE, 'handle' => 'INDEX', 'compatible' => 1.3, 'version' => 0.3)); push_module_action('tim', array('action' => 'tim_manage', 'action_name' => __('Manage Theme Option'), 'action_description' => __('This permission let you manage theme options'), 'mod_namespace' => 'tim'));
<?php declare_module('tendoo_widget_administrator', array('name' => 'MIDATE', 'author' => 'Tendoo Luminax Group', 'description' => 'Ajoutez et gérez vos widgets avec MIDATE', 'has_widget' => TRUE, 'has_api' => TRUE, 'has_icon' => TRUE, 'handle' => 'APP', 'compatible' => 1.3, 'version' => 0.6)); push_module_sql('tendoo_widget_administrator', 'CREATE TABLE IF NOT EXISTS `' . DB_ROOT . 'tendoo_widget_administrator_left` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `WIDGET_TITLE` varchar(200), `WIDGET_NAMESPACE` text NOT NULL, `WIDGET_MODNAMESPACE` varchar(200) NOT NULL, `WIDGET_NAME` varchar(200) NOT NULL, `WIDGET_ETAT` varchar(200), `WIDGET_PARAMETERS` text, `AUTEUR` int(11) NOT NULL, `DATE` varchar(200) NOT NULL, `IS_CODE` int(11) NOT NULL, PRIMARY KEY (`ID`) );'); push_module_sql('tendoo_widget_administrator', 'CREATE TABLE IF NOT EXISTS `' . DB_ROOT . 'tendoo_widget_administrator_right` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `WIDGET_TITLE` varchar(200), `WIDGET_NAMESPACE` text NOT NULL, `WIDGET_MODNAMESPACE` varchar(200) NOT NULL, `WIDGET_NAME` varchar(200) NOT NULL, `WIDGET_ETAT` varchar(200), `WIDGET_PARAMETERS` text, `AUTEUR` int(11) NOT NULL, `DATE` varchar(200) NOT NULL, `IS_CODE` int(11) NOT NULL, PRIMARY KEY (`ID`) );'); push_module_sql('tendoo_widget_administrator', 'CREATE TABLE IF NOT EXISTS `' . DB_ROOT . 'tendoo_widget_administrator_bottom` ( `ID` int(11) NOT NULL AUTO_INCREMENT,
<?php declare_module('blogster', array('name' => __('Blogster'), 'author' => 'Tendoo Luminax Group', 'description' => __('This module help you create a blog section on your website.'), 'has_widget' => TRUE, 'has_api' => TRUE, 'has_icon' => TRUE, 'handle' => 'BLOG', 'compatible' => 1.4, 'version' => 0.7)); push_module_sql('blogster', 'CREATE TABLE IF NOT EXISTS `' . DB_ROOT . 'tendoo_comments` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `REF_ART` int(11) NOT NULL, `SHOW` int(11) NOT NULL, `CONTENT` text NOT NULL, `DATE` datetime NOT NULL, `AUTEUR` int(11) NOT NULL, `OFFLINE_AUTEUR` varchar(200) NOT NULL, `OFFLINE_AUTEUR_EMAIL` varchar(200) NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;'); push_module_sql('blogster', 'CREATE TABLE IF NOT EXISTS `' . DB_ROOT . 'tendoo_news` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `TITLE` varchar(200) NOT NULL, `URL_TITLE` varchar(200) NOT NULL, `CONTENT` text NOT NULL, `DATE` datetime NOT NULL, `AUTEUR` int(11) NOT NULL, `ETAT` varchar(5) NOT NULL, `IMAGE` varchar(200) NOT NULL, `THUMB` varchar(200) NOT NULL, `VIEWED` int(11) NOT NULL, `SCHEDULED` int(11) NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; '); push_module_sql('blogster', 'CREATE TABLE IF NOT EXISTS `' . DB_ROOT . 'tendoo_news_ref_category` ( `ID` int(11) NOT NULL AUTO_INCREMENT,
<?php declare_module('tendoo_contents', array('name' => 'Media Library', 'author' => 'Tendoo Luminax Group', 'description' => 'Media Manager for Tendoo CMS.', 'has_widget' => TRUE, 'has_api' => TRUE, 'has_icon' => TRUE, 'handle' => 'APP', 'compatible' => 1.4, 'version' => 0.4)); push_module_sql('tendoo_contents', 'CREATE TABLE IF NOT EXISTS `' . DB_ROOT . 'tendoo_contents` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `TITLE` varchar(200) NOT NULL, `DESCRIPTION` varchar(200) NOT NULL, `FILE_NAME` text NOT NULL, `FILE_TYPE` varchar(200) NOT NULL, `DATE` varchar(200) NOT NULL, `AUTHOR` int(11) NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;'); push_module_action('tendoo_contents', array('action' => 'delete_media', 'action_name' => 'Delete Media File', 'action_description' => 'This let you delete media file.', 'mod_namespace' => 'tendoo_contents')); push_module_action('tendoo_contents', array('action' => 'upload_media', 'action_name' => 'Send Files', 'action_description' => 'This let you upload media file.', 'mod_namespace' => 'tendoo_contents'));
<?php declare_module('pages_editor', array('name' => __('Page Editor'), 'author' => 'Tendoo Luminax Group', 'description' => __('This module let your create static page for your website'), 'has_widget' => TRUE, 'has_api' => TRUE, 'has_icon' => TRUE, 'handle' => 'STATIC', 'compatible' => 1.3, 'version' => 0.5, 'self_url_handle' => TRUE)); push_module_sql('pages_editor', 'CREATE TABLE IF NOT EXISTS `' . DB_ROOT . 'tendoo_pages` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `TITLE` varchar(255) NOT NULL, `FILE_NAME` varchar(255), `TITLE_URL` varchar(255), `DESCRIPTION` text, `CONTROLLER_REF_CNAME` varchar(255) NOT NULL, `PAGE_PARENT` int(11) NOT NULL, `DATE` datetime NOT NULL, `EDITION_DATE` datetime NOT NULL, `STATUS` varchar(255) NOT NULL, `AUTHOR` int(11) NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;'); push_module_action('pages_editor', array('action' => 'create_page', 'action_name' => __('Create Pages'), 'action_description' => __('This permission let you create static pages.'), 'mod_namespace' => 'pages_editor')); push_module_action('pages_editor', array('action' => 'delete_page', 'action_name' => __('Delete Pages'), 'action_description' => __('This permission let you delete pages.'), 'mod_namespace' => 'pages_editor')); push_module_action('pages_editor', array('action' => 'edit_pages', 'action_name' => __('Edit Pages'), 'action_description' => __('This permission let you edit pages.'), 'mod_namespace' => 'pages_editor'));