예제 #1
0
 /**
  * 构造函数
  */
 public function __construct()
 {
     parent::__construct();
     $this->path = FCPATH . 'member/templates/space/';
     $this->_dir = array('member', 'admin');
     $this->template->assign(array('path' => $this->path, 'furi' => 'member/spacetpl/', 'auth' => 'member/admin/spacetpl/', 'menu' => $this->get_menu(array(lang('008') => 'member/admin/spacetpl/index')), 'space' => 1));
 }
예제 #2
0
파일: Theme.php 프로젝트: surgeon-xie/jxseo
 /**
  * 构造函数
  */
 public function __construct()
 {
     parent::__construct();
     $this->path = FCPATH . 'dayrui/statics/';
     $this->template->assign(array('path' => $this->path, 'furi' => 'admin/theme/', 'auth' => 'admin/theme/', 'menu' => $this->get_menu(array(lang('231') => 'admin/theme/index'))));
 }
예제 #3
0
파일: Tpl.php 프로젝트: surgeon-xie/jxseo
 /**
  * 构造函数
  */
 public function __construct()
 {
     parent::__construct();
     $this->path = FCPATH . APP_DIR . '/templates/';
     $this->template->assign(array('path' => $this->path, 'furi' => APP_DIR . '/tpl/', 'auth' => APP_DIR . '/admin/tpl/', 'menu' => $this->get_menu(array(lang('230') => APP_DIR . '/admin/tpl/index', lang('233') => APP_DIR . '/admin/tpl/tag'))));
 }
예제 #4
0
 /**
  * 构造函数
  */
 public function __construct()
 {
     parent::__construct();
     $this->path = $this->router->method == 'mobile' || $this->input->get('ismb') ? FCPATH . 'member/mobiles/member/' : FCPATH . 'member/templates/member/';
     $this->template->assign(array('path' => $this->path, 'furi' => 'member/tpl/', 'auth' => 'member/admin/tpl/', 'menu' => $this->get_menu(array(lang('230') => 'member/admin/tpl/index', lang('387') => 'member/admin/tpl/mobile', lang('233') => 'member/admin/tpl/tag')), 'ismb' => $this->router->method == 'mobile' ? 1 : 0));
 }