/** * Returns current skin name * * @return string */ protected function getCurrentSkinName() { return \XLite\Core\Layout::getInstance()->getLayoutColor() ? parent::getCurrentSkinName() : static::t('Standard'); }
/** * 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; }