示例#1
0
 /**
  * Returns current skin name
  *
  * @return string
  */
 protected function getCurrentSkinName()
 {
     return \XLite\Core\Layout::getInstance()->getLayoutColor() ? parent::getCurrentSkinName() : static::t('Standard');
 }
示例#2
0
 /**
  * Get a list of JS files required to display the widget properly
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list[] = 'modules/XC/ThemeTweaker/theme_tweaker_templates/controller.js';
     return $list;
 }