public function before() { parent::before(); $installation_status = Kohana::$config->load('app.installation_status'); if ($installation_status != INSTALLED) { $this->redirect('/install'); } }
/** * before * * @access public * @author Nguyen Van Hiep * * @version 1.0 * @since 1.0 */ public function before() { parent::before(); $this->lang = Session::get('active_lang'); $this->template = \View::forge('customer/template_detail'); $this->template->cats = Model_Categories::get_cats_home($this->lang); $this->template->pepper_arts = Model_Article::pepper_artilces($this->lang); }
public function before() { parent::before(); $this->theme = \Theme::instance(); $this->theme->set_template('home'); $this->theme->get_template()->set_global('title', "BuffoHero CMS", false); $this->theme->get_template()->set_global('current_menu', "File Manager", false); $this->theme->get_template()->set_global('current_menu_desc', "จัดการไฟล์", false); $this->theme->set_partial('sidebar', 'common/sidebar'); }
public function before() { parent::before(); $this->_search = $this->request->post('search'); $this->_ids = $this->request->post('ids'); if (!empty($this->_ids)) { $this->_ids = explode(',', $this->_ids); } $this->_user = Auth::instance()->get_user(); }
public function before() { parent::before(); $this->theme->active('system'); $this->theme->set_template('index'); }
public function before() { parent::before(); $this->title[] = 'Отчеты'; }
public function before() { parent::before(); $this->title[] = 'Сообщения'; }
public function before() { parent::before(); $this->title[] = 'Клиент'; }
public function before() { parent::before(); $this->title[] = 'Новости'; }
public function before() { parent::before(); $this->theme = \Theme::instance(); }
public function before() { parent::before(); $this->title[] = 'Управление'; }
/** * before * * @access public * @author Dao Anh Minh * * @version 1.0 * @since 1.0 */ public function before() { parent::before(); $this->lang = Session::get('active_lang'); $this->template = \View::forge('customer/template_detail'); }
public function before() { parent::before(); $this->no_layout(); $this->no_view(); }
public function before() { parent::before(); $this->title[] = 'Поддержка'; }
/** * before * * @access public * @author Nguyen Van Hiep * * @version 1.0 * @since 1.0 */ public function before() { parent::before(); $this->lang = Session::get('active_lang'); }
public function before() { parent::before(); $this->title[] = 'Список клиентов'; }