public static function isis() { if (JVERSION < 3 || self::$isis) { return; } $doc = JFactory::getDocument(); $app = JFactory::getApplication(); $option = JRequest::getVar('option'); $prefix = $app->isSite() ? 'administrator/' : ''; JHtml::_('jquery.framework', true); $doc->addStylesheet($prefix . 'templates/isis/css/template.css'); $doc->addScript($prefix . 'templates/isis/js/template.js'); self::$isis = true; }
public static function isis() { $doc = JFactory::getDocument(); $app = JFactory::getApplication(); $option = JRequest::getVar('option'); $prefix = $app->isSite() ? 'administrator/' : ''; $doc->addStylesheet($prefix . 'templates/isis/css/template.css'); self::$bluestork = true; }