コード例 #1
0
ファイル: AdminUserController.php プロジェクト: grlf/eyedock
 function preDispatch()
 {
     $this->getDi()->navigationUserTabs->setActive('helpdesk');
     $this->getDi()->helpdeskStrategy->setUserId($this->getRequest()->getParam('user_id', 0));
     $this->view->headLink()->appendStylesheet($this->view->_scriptCss('helpdesk-admin.css'));
     $this->setActiveMenu('users-browse');
     parent::preDispatch();
 }
コード例 #2
0
ファイル: IndexController.php プロジェクト: grlf/eyedock
 function preDispatch()
 {
     $this->getDi()->auth->requireLogin(ROOT_URL . '/helpdesk');
     $this->view->headLink()->appendStylesheet($this->view->_scriptCss('helpdesk-user.css'));
     if ($page = $this->getDi()->navigationUser->findOneBy('id', 'helpdesk')) {
         $page->setActive(true);
     }
     parent::preDispatch();
 }
コード例 #3
0
 public function preDispatch()
 {
     parent::preDispatch();
     $this->setActiveMenu('affiliates-banners');
 }
コード例 #4
0
ファイル: AdminMyController.php プロジェクト: grlf/eyedock
 function preDispatch()
 {
     $this->view->headLink()->appendStylesheet($this->view->_scriptCss('helpdesk-admin.css'));
     $this->setActiveMenu('helpdesk-ticket-my');
     parent::preDispatch();
 }
コード例 #5
0
 public function preDispatch()
 {
     parent::preDispatch();
     $this->view->headScript()->appendFile(REL_ROOT_URL . "/application/default/views/public/js/resourceaccess.js");
     $this->view->headScript()->appendFile(REL_ROOT_URL . "/application/default/views/public/js/player-config.js");
 }
コード例 #6
0
 public function preDispatch()
 {
     parent::preDispatch();
     $this->view->headScript()->appendFile(REL_ROOT_URL . "/application/default/views/public/js/resourceaccess.js");
     $this->setActiveMenu('products-protect');
 }
コード例 #7
0
 function preDispatch()
 {
     $this->getDi()->auth->requireLogin(ROOT_URL . '/helpdesk');
     $this->view->headLink()->appendStylesheet($this->view->_scriptCss('helpdesk-user.css'));
     parent::preDispatch();
 }