예제 #1
0
파일: Banner.php 프로젝트: kingsj/core
 /**
  * Return templates dir
  *
  * @return string
  */
 protected function getDir()
 {
     return parent::getDir() . '/banner';
 }
예제 #2
0
파일: Manage.php 프로젝트: kingsj/core
 /**
  * Return templates directory name
  *
  * @return string
  */
 protected function getDir()
 {
     return parent::getDir() . LC_DS . 'manage';
 }
예제 #3
0
 /**
  * Return templates directory name
  *
  * @return string
  */
 protected function getDir()
 {
     return parent::getDir() . LC_DS . 'upload_addons';
 }
예제 #4
0
파일: AddonKey.php 프로젝트: kingsj/core
 /**
  * Return templates directory name
  *
  * @return string
  */
 protected function getDir()
 {
     return parent::getDir() . LC_DS . 'enter_key';
 }
예제 #5
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && 'select_installation_type' === \XLite\Core\Request::getInstance()->action;
 }
예제 #6
0
 /**
  * Replace template directory for some targets
  * 
  * @return string
  */
 protected function getDir()
 {
     return $this->checkDemoTarget() ? 'modules/CDev/Demo/modules_manager' : parent::getDir();
 }
예제 #7
0
파일: Install.php 프로젝트: kingsj/core
 /**
  * Return templates directory name
  *
  * @return string
  */
 protected function getDir()
 {
     return parent::getDir() . '/install';
 }
예제 #8
0
 /**
  * Register CSS files
  *
  * @return array
  */
 public function getCSSFiles()
 {
     $list = parent::getCSSFiles();
     $list[] = $this->getDir() . '/css/style.css';
     return $list;
 }
예제 #9
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && 'warnings' === \XLite\Core\Request::getInstance()->action;
 }
예제 #10
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && 'view_license' === \XLite\Core\Request::getInstance()->action;
 }