Пример #1
0
 /**
  * Return templates dir
  *
  * @return string
  */
 protected function getDir()
 {
     return parent::getDir() . '/banner';
 }
Пример #2
0
 /**
  * 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
 /**
  * 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
 /**
  * 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;
 }