예제 #1
0
 public function before()
 {
     parent::before();
     $installation_status = Kohana::$config->load('app.installation_status');
     if ($installation_status != INSTALLED) {
         $this->redirect('/install');
     }
 }
예제 #2
0
 /**
  * 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);
 }
예제 #3
0
 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');
 }
예제 #4
0
파일: Help.php 프로젝트: paShaman/Scala
 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();
 }
예제 #5
0
 public function before()
 {
     parent::before();
     $this->theme->active('system');
     $this->theme->set_template('index');
 }
예제 #6
0
파일: Reports.php 프로젝트: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Отчеты';
 }
예제 #7
0
파일: Messages.php 프로젝트: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Сообщения';
 }
예제 #8
0
파일: Managers.php 프로젝트: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Клиент';
 }
예제 #9
0
파일: News.php 프로젝트: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Новости';
 }
예제 #10
0
 public function before()
 {
     parent::before();
     $this->theme = \Theme::instance();
 }
예제 #11
0
파일: Control.php 프로젝트: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Управление';
 }
예제 #12
0
 /**
  * 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');
 }
예제 #13
0
 public function before()
 {
     parent::before();
     $this->no_layout();
     $this->no_view();
 }
예제 #14
0
파일: Support.php 프로젝트: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Поддержка';
 }
예제 #15
0
파일: home.php 프로젝트: aminh047/pepperyou
 /**
  * before
  *
  * @access public
  * @author Nguyen Van Hiep
  *
  * @version 1.0
  * @since 1.0
  */
 public function before()
 {
     parent::before();
     $this->lang = Session::get('active_lang');
 }
예제 #16
0
파일: Clients.php 프로젝트: paShaman/Scala
 public function before()
 {
     parent::before();
     $this->title[] = 'Список клиентов';
 }