Ejemplo n.º 1
0
 /**
  * Define and set handler attributes; initialize handler
  *
  * @param array $params Handler params OPTIONAL
  *
  * @return void
  */
 public function __construct(array $params = array())
 {
     if (!isset($this->tabs['custom_css'])) {
         $this->tabs = array_merge(array('theme_tweaker_templates' => array('weight' => 200, 'title' => 'Webmaster mode', 'template' => 'modules/XC/ThemeTweaker/theme_tweaker_templates/body.tpl'), 'custom_css' => array('weight' => 300, 'title' => 'Custom CSS', 'template' => 'modules/XC/ThemeTweaker/custom_css.tpl'), 'custom_js' => array('weight' => 400, 'title' => 'Custom JavaScript', 'template' => 'modules/XC/ThemeTweaker/custom_js.tpl')), $this->tabs);
     }
     parent::__construct();
 }
Ejemplo n.º 2
0
 /**
  * Define and set handler attributes; initialize handler
  *
  * @param array $params Handler params OPTIONAL
  *
  * @return void
  */
 public function __construct(array $params = array())
 {
     if (!isset($this->tabs['logo_favicon'])) {
         $this->tabs = array_merge(array('logo_favicon' => array('weight' => 100, 'title' => 'Logo & Favicon', 'template' => 'settings/body.tpl')), $this->tabs);
     }
     parent::__construct();
 }