Permalink
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 479 Bytes
<?php defined( '_JEXEC' ) or die;
// variables
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$menu = $app->getMenu();
$active = $app->getMenu()->getActive();
$params = $app->getParams();
$pageclass = $params->get('pageclass_sfx');
$tpath = $this->baseurl.'/templates/'.$this->template;
// generator tag
$this->setGenerator(null);
// template js
$doc->addScript($tpath.'/js/logic.js');
// template css
$doc->addStyleSheet($tpath.'/css/template.css.php');