Пример #1
0
 function __construct($config = array())
 {
     include_once JPATH_ADMINISTRATOR . DS . "includes" . DS . "toolbar.php";
     parent::__construct($config);
     // TODO find the active admin template
     //JEVHelper::stylesheet("system.css", "administrator/templates/system/css/");
     //JEVHelper::stylesheet("icon.css",  "administrator/templates/khepri/css/");
     //JEVHelper::stylesheet("general.css", "administrator/templates/khepri/css/");
 }
Пример #2
0
 function __construct($config = array())
 {
     include_once JPATH_ADMINISTRATOR . '/' . "includes" . '/' . "toolbar.php";
     parent::__construct($config);
     // used only for helper functions
     $this->jevlayout = "default";
     $this->addHelperPath(realpath(dirname(__FILE__) . "/../default/helpers"));
     $this->addHelperPath(JPATH_BASE . '/' . 'templates' . '/' . JFactory::getApplication()->getTemplate() . '/' . 'html' . '/' . JEV_COM_COMPONENT . '/' . "helpers");
     // stop crawler and set meta tag.
     JEVHelper::checkRobotsMetaTag();
     // Call the MetaTag setter function.
     JEVHelper::SetMetaTags();
 }
Пример #3
0
 function __construct($config = array())
 {
     include_once JPATH_ADMINISTRATOR . DS . "includes" . DS . "toolbar.php";
     parent::__construct($config);
     // TODO find the active admin template
     //JEVHelper::stylesheet("system.css", "administrator/templates/system/css/");
     //JEVHelper::stylesheet("icon.css",  "administrator/templates/khepri/css/");
     //JEVHelper::stylesheet("general.css", "administrator/templates/khepri/css/");
     // used only for helper functions
     $this->jevlayout = "default";
     $this->addHelperPath(realpath(dirname(__FILE__) . "/../default/helpers"));
     $this->addHelperPath(JPATH_BASE . DS . 'templates' . DS . JFactory::getApplication()->getTemplate() . DS . 'html' . DS . JEV_COM_COMPONENT . DS . "helpers");
 }