Пример #1
0
 /**
  * 构造函数
  */
 function __construct()
 {
     parent::__construct();
     $this->_data['page_title'] = '网页概要';
     $this->_data['parentPage'] = 'dashboard';
     $this->_data['currentPage'] = 'dashboard';
 }
Пример #2
0
 /**
  * 构造函数
  * 
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->_data['page_title'] = '个人设置';
     $this->_data['parentPage'] = 'dashboard';
     $this->_data['currentPage'] = 'profile';
 }
Пример #3
0
 /**
  * 构造函数
  * 
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     /** 页面导航栏和标题 */
     $this->_data['page_title'] = '网站概要';
     $this->_data['parentPage'] = 'dashboard';
     $this->_data['currentPage'] = 'dashboard';
 }
Пример #4
0
 /**
  * 构造函数
  * 
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     /** 权限确认 */
     $this->auth->exceed('contributor');
     $this->load->helper('json');
     $this->_data['parentPage'] = 'manage-posts';
     $this->_data['currentPage'] = 'manage-comments';
 }
Пример #5
0
 /**
  * 解析函数
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->auth->exceed('contributor');
     /** common data */
     $this->_data['parentPage'] = 'manage-posts';
     $this->_data['currentPage'] = 'manage-medias';
     $this->_data['page_title'] = '管理附件';
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct();
     /** privilege confirm */
     $this->auth->exceed('editor');
     /** 标题 */
     $this->_data['page_title'] = '分类与标签';
     $this->_data['parentPage'] = 'manage-posts';
     $this->_data['currentPage'] = 'manage-metas';
 }
Пример #7
0
 /**
  * 解析函数
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     /** privilege confirm */
     $this->auth->exceed('administrator');
     $this->_current_theme = setting_item('current_theme');
     $this->load->model('themes_mdl');
     $this->_data['parentPage'] = 'dashboard';
     $this->_data['currentPage'] = 'themes';
 }
Пример #8
0
 /**
  * 解析函数
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     /** privilege confirm */
     $this->auth->exceed('administrator');
     /** common data */
     $this->_data['parentPage'] = 'manage-posts';
     $this->_data['currentPage'] = 'manage-users';
     $this->_data['page_title'] = '管理用户';
 }
Пример #9
0
 /**
  * 解析函数
  *
  * @access public
  * @var array
  */
 public function __construct()
 {
     parent::__construct();
     /** 权限确认 */
     $this->auth->exceed('contributor');
     /** 导航栏和标题 */
     $this->_data['parentPage'] = 'post';
     $this->_data['currentPage'] = 'post';
     $this->_data['page_title'] = '管理文章';
 }
Пример #10
0
 /**
  * 解析函数
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     /** privilege confirm */
     $this->auth->exceed('administrator');
     $this->load->model('settings_mdl');
     /** load default settings from db cache */
     $this->_load_default_settings();
     $this->_data['parentPage'] = 'manage-settings';
     //var_dump($this->_data);
 }
Пример #11
0
 /**
  * 解析函数
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     /** privilege confirm */
     $this->auth->exceed('administrator');
     $this->utility->clear_db_cache();
     $this->load->model('plugins_mdl');
     /** common data */
     $this->_data['parentPage'] = 'dashboard';
     $this->_data['currentPage'] = 'plugins';
     $this->_data['page_title'] = '插件管理';
 }