Beispiel #1
0
 public function init()
 {
     static $inited = false;
     if ($inited == false) {
         /* Import Zt Assets */
         ZtAssets::import(array('Zt://assets/css/zt.core.css', 'Zt://assets/js/zt.core.php', 'Zt://assets/js/zt.ui.js', 'Zt://assets/js/zt.ajax.js', 'Zt://assets/js/zt.joomla.js', 'Zt://assets/vendor/form-validator/theme-default.css', 'Zt://assets/vendor/form-validator/jquery.form-validator.js'));
         parent::init();
         $inited = true;
     }
 }
Beispiel #2
0
 public function init()
 {
     ZtAssets::import(array($this->namespace . '://assets/js/scripts.js', $this->namespace . '://assets/css/styles.css'));
 }