public function __construct($data) { parent::__construct(); __extends($this); $this->_config(); $this->data = $data; $this->instance = get_instance(); $this->opened_module = get_core_vars('opened_module'); $this->data['module'] = get_core_vars('opened_module'); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $fileManager = get_modules('filter_namespace', 'tendoo_contents'); if ($fileManager) { include_once MODULES_DIR . $fileManager['encrypted_dir'] . '/utilities.php'; set_core_vars('fmlib', new tendoo_contents_utility()); // Loading library } // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true); $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE); $this->link = MODULES_DIR . $this->opened_module['encrypted_dir'] . '/'; // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // ??? $this->module_metas =& $this->opened_module; // ??? // $this->load->library( 'GUI' ); }
public function __construct($data = array()) { parent::__construct(); __extends($this); $this->data = $data; $this->load->library('file'); }
public function __construct() { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->instance = get_instance(); $this->load->library('form_validation'); $this->load->library('installation'); $this->load->library('file'); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->file->css_push('font'); /** $this->file->css_push('font'); $this->file->css_push('app.v2'); $this->file->css_push('fuelux'); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->file->js_push('jquery'); $this->file->js_push('app.min.vtendoo'); $this->file->js_push('tendoo_app'); **/ css_push_if_not_exists('../admin-lte/bootstrap/css/bootstrap.min'); css_push_if_not_exists('../admin-lte/font-awesome/font-awesome.4.3.0.min'); css_push_if_not_exists('../admin-lte/dist/css/AdminLTE.min'); css_push_if_not_exists('../admin-lte/plugins/iCheck/square/blue'); js_push_if_not_exists('../admin-lte/plugins/jQuery/jQuery-2.1.3.min'); js_push_if_not_exists('../admin-lte/bootstrap/js/bootstrap.min'); js_push_if_not_exists('../admin-lte/plugins/iCheck/icheck.min'); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= }
public function __construct($data) { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->load->library('gui'); $this->_config(); $this->data = $data; $this->instance = get_instance(); $this->opened_module = get_core_vars('opened_module'); $this->data['module'] = get_core_vars('opened_module'); $this->news = new blogster_library($this->data); set_core_vars('news', $this->news); $this->data['news'] =& $this->news; // Deprecated $this->read_slug = 'read'; $this->options = get_meta('blogster_settings'); set_core_vars('blogster_settings', $this->options); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true); $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE); $this->link = MODULES_DIR . $this->opened_module['encrypted_dir'] . '/'; /* Intégration de la librarie FILE MANAGER : Gestionnaire des fichiers médias. */ // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $fileManager = get_modules('filter_namespace', 'tendoo_contents'); if ($fileManager) { include_once MODULES_DIR . $fileManager['encrypted_dir'] . '/utilities.php'; set_core_vars('fmlib', new tendoo_contents_utility()); // Loading library } // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= }
public function __construct() { parent::__construct(); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->instance = get_instance(); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->load->library('users_global'); $this->load->library('file'); $this->load->library('pagination'); $this->load->library('form_validation'); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= css_push_if_not_exists('font'); css_push_if_not_exists('../admin-lte/bootstrap/css/bootstrap.min'); css_push_if_not_exists('../admin-lte/font-awesome/font-awesome.4.3.0.min'); css_push_if_not_exists('../admin-lte/dist/css/AdminLTE.min'); css_push_if_not_exists('../admin-lte/plugins/iCheck/square/blue'); js_push_if_not_exists('../admin-lte/plugins/jQuery/jQuery-2.1.3.min'); js_push_if_not_exists('../admin-lte/bootstrap/js/bootstrap.min'); js_push_if_not_exists('../admin-lte/plugins/iCheck/icheck.min'); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // Has admin ? $this->users_global->hasAdmin() === FALSE ? $this->url->redirect(array('registration', 'superAdmin')) : false; // is Connected ? $this->users_global->isConnected() === TRUE ? $this->url->redirect(array('index')) : false; $this->options = get_meta('all'); set_core_vars('tendoo_notices', trigger_filters('declare_notices', array(get_core_vars('default_notices')))); // @since 1.4 }
function __construct() { parent::__construct(); __extends($this); $this->module = get_modules('filter_namespace', 'pages_editor'); $this->_before_boot(); }
public function __construct() { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); $this->instance = get_instance(); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->load->library('install'); $this->load->library('file'); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= if ($this->instance->db_connected()) { $this->load->library('users_global'); $this->data['options'] = get_meta('all'); trigger_inits(); // For Core menu extension, they are called after default menu. /** * Declare Notices : Notices are internal(system) or module/theme alert. **/ set_core_vars('tendoo_notices', trigger_filters('declare_notices', array(get_core_vars('default_notices')))); // @since 1.4 } else { $this->users_global = FALSE; $this->data['options'] = FALSE; } }
public function __construct() { parent::__construct(); __extends($this); $this->cur_module = get_modules('filter_active_namespace', 'blogster'); $this->encrypted_dir =& $this->cur_module['encrypted_dir']; $this->cur_module_dir = $this->cur_module['uri_path']; $this->data = array(); $this->data['cur_module'] =& $this->cur_module; }
public function __construct() { parent::__construct(); self::$ressource =& $this; $this->is_installed = is_file(CONFIG_DIR . 'db_config.php') ? true : false; // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // Default page values $this->description = __('No description available for this page'); $this->title = __('Untitled page'); $this->keywords = ''; // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= }
public function __construct($data) { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->module = get_core_vars('opened_module'); $this->lib = new page_library(); $this->data = array(); $this->data['current_page'] = get_core_vars('page'); set_bread(array('link' => get_instance()->url->site_url(array($this->data['current_page'][0]['PAGE_CNAME'])), 'text' => $this->data['current_page'][0]['PAGE_CNAME'])); }
public function __construct() { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->cur_module = get_modules('filter_active_namespace', 'pages_editor'); $this->encrypted_dir =& $this->cur_module['encrypted_dir']; $this->cur_module_dir = MODULES_DIR . $this->encrypted_dir; $this->data = array(); $this->data['cur_module'] =& $this->cur_module; }
public function __construct($data) { parent::__construct(); __extends($this); $this->data = $data; $this->data['page'] = get_core_vars('page'); $this->data['module'] = get_core_vars('module'); $this->data['current_page'] = get_core_vars('page'); // Setting Bread $this->data['current_page'] = get_core_vars('page'); set_bread(array('link' => get_instance()->url->site_url(array($this->data['current_page'][0]['PAGE_CNAME'])), 'text' => $this->data['current_page'][0]['PAGE_CNAME'])); // End }
public function __construct() { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->module = get_modules('filter_namespace', 'blogster'); $this->data = array(); $this->instance = get_instance(); $this->user =& $this->users_global; $this->mod_repo = MODULES_DIR . $this->module['encrypted_dir'] . '/'; // Post les articles programmés. $this->postScheduledArt(); }
public function __construct() { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->instance = get_instance(); $this->theme = get_core_vars('active_theme'); $this->data = array(); // Inclusion du ficher "library.php". if (file_exists(THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php')) { include_once THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php'; } $this->output_files(); }
public function __construct() { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->config(); // -------------------------------------------------------------------- $this->data = array(); $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE); $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true); $this->opened_module = get_core_vars('opened_module'); $this->opened_module = $this->opened_module; $this->lib = new page_library(); }
public function __construct($data) { parent::__construct(); __extends($this); $this->module = get_modules('filter_namespace', 'tendoo_widget_administrator'); $this->load->library('tendoo_admin', null, 'admin'); if (defined('SCRIPT_CONTEXT')) { if (SCRIPT_CONTEXT == 'ADMIN') { $this->admin_context(); // get_instance()->tendoo_admin->system_not('2 Nouveaux commentaires disponibles', 'Deux nouveaux commentaires sont dans la liste d\'attentes des [Lire la suite] ', '#', '10 mai 2013', null); } else { $this->public_context(); } $this->both_context(); } }
public function __construct($data) { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->data = $data; $module = get_core_vars('opened_module'); $this->config(); $this->opened_module = $module; $this->data['module'] = $module; $this->lib = $this->data['lib'] = $this->file_contentAdmin = new file_contentAdmin($this->data); $this->data['module_dir'] = MODULES_DIR . $this->opened_module['encrypted_dir']; $this->data['repository_dir'] = MODULES_DIR . $this->opened_module['encrypted_dir'] . '/content_repository'; $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true); $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE); }
public function __construct($data) { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->instance = get_instance(); $this->data = $data; $this->tendoo =& $this->instance->tendoo; $this->tendoo_admin =& $this->instance->tendoo_admin; $this->users_global =& $this->instance->users_global; $module = get_core_vars('opened_module'); $this->dir = 'tendoo-modules/' . $module['encrypted_dir']; if (!is_dir($this->dir . '/content_repository')) { mkdir($this->dir . '/content_repository'); } $this->cp_dir = $this->dir . '/content_repository'; }
public function __construct() { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->news = new News_smart(); $this->data['page'] = get_core_vars('page'); $this->data['theme'] = get_core_vars('active_theme_object'); $this->data['module'] = get_core_vars('module'); $this->data['news'] =& $this->news; $this->data['userUtil'] =& $this->users_global; $this->data['setting'] = get_meta('blogster_settings'); // Setting Bread $this->data['current_page'] = get_core_vars('page'); set_bread(array('link' => get_instance()->url->site_url(array($this->data['current_page'][0]['PAGE_CNAME'])), 'text' => $this->data['current_page'][0]['PAGE_CNAME'])); // End }
public function __construct($data) { parent::__construct(); $this->instance = get_instance(); $this->tendoo = $this->instance->tendoo; $this->module = get_core_vars('opened_module'); $this->moduleNamespace = $this->module['namespace']; // retreive namespace $this->tendoo_admin =& $this->instance->tendoo_admin; $this->data =& $data; $this->notice =& $this->instance->notice; $this->data['module_dir'] = $this->module['uri_path']; $this->lib = new widhandler_lib($this->data); $this->data['lib'] =& $this->lib; $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true); $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE); if (!current_user()->can('manage_widgets@tendoo_widget_administrator')) { $this->instance->url->redirect(array('admin', 'index?notice=access-denied')); } }
public function __construct() { parent::__construct(); // -=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--= $this->db = get_db(); $this->instance = get_instance(); // -=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--= $this->createUserAvatarDir(); // -=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--= $this->superAdmin = 0; // -=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--= $this->connection_status = FALSE; if ($this->cookiesLogin() == FALSE) { // log user if not yet connected if ($this->session->started()) { $this->authUser($this->session->userdata('PSEUDO'), $this->session->userdata('PASSWORD'), FALSE, FALSE); } } $this->menuStatus = 'show_menu'; }
public function __construct() { parent::__construct(); $this->instance = get_instance(); $this->db = get_db(); $this->data = array(); $this->options = get_core_vars('options'); // -=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--=-=-=-=-=-=--= $this->libraries_loader(); // Affecting Libraries */ // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= set_core_vars('admin_menu_items', array('dashboard', 'menu', 'about', 'users', 'controllers', 'installer', 'modules', 'themes', 'settings', 'roles', 'frontend')); // @since 1.4 set_core_vars('admin_menu_position', array('after', 'before')); // @since 1.4 // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->__admin_widgets(); // USING core WiDGET and thoses defined through init $this->__creating_menus(); trigger_inits(); // For Core menu extension, they are called after default menu. $this->notices_loader(); $this->file_loader(); if (get_user_meta('tendoo_status') == false && get_instance()->url->method() != 'about') { get_instance()->url->redirect(array('admin', 'about')); } /** * Declare Notices : Notices are internal(system) or module/theme alert. **/ set_core_vars('tendoo_notices', trigger_filters('declare_notices', array(get_core_vars('default_notices')))); // @since 1.4 set_page('description', translate('Dashboard') . ' | ' . get('core_version')); /*$this->tendoo_admin->system_not('Modifier vos paramêtre de sécurité', 'Mettez vous à jour avec cette version', '#', '10 mai 2013', null);*/ // Set Default View set_core_vars('inner_head', $this->load->view('admin/inner_head', array(), true, false), 'read_only'); set_core_vars('lmenu', $this->load->view('admin/left_menu', array(), true, false), 'read_only'); }
public function __construct() { parent::__construct(); __extends($this); }
public function __construct() { parent::__construct(); $this->instance = get_instance(); }
public function __construct($data) { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->data =& $data; }
public function __construct() { parent::__construct(); __extends($this); $this->load->helper('gui'); }
public function __construct() { parent::__construct(); __extends($this); $this->allowed_interface = array('admin', 'account'); }