template . '/lib/php/yootools.php'); include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/yoolayout.php'); $template_baseurl = $this->baseurl . '/templates/' . $this->template; JHTML::_('behavior.mootools'); // add template mootools to JDocumentHTML if ($this->params->get('loadMootools')) { $this->_scripts = array_merge(array($template_baseurl . '/lib/js/mootools/mootools-release-1.11.js' => 'text/javascript'), $this->_scripts); unset($this->_scripts[$this->baseurl . '/media/system/js/mootools.js']); } // add template javascript to JDocumentHTML if ($this->params->get('loadJavascript')) { if ($this->params->get('reflection')) $this->addScript($template_baseurl . '/lib/js/reflection/reflection.js'); if ($this->params->get('lightbox')) $this->addScript($template_baseurl . '/lib/js/lightbox/slimbox.js'); $this->addScriptDeclaration($yTools->getJavaScript()); $this->addCustomTag('_'); $this->addCustomTag(''); } // add template css to JDocumentHTML $this->addStyleSheet($template_baseurl . '/css/template.css'); if ($yTools->getCurrentColor() != "default") $this->addStyleSheet($template_baseurl . '/css/' . $yTools->getCurrentColor() . '/' . $yTools->getCurrentColor() . '-template.css'); if ($this->params->get('lightbox')) $this->addStyleSheet($template_baseurl . '/lib/js/lightbox/css/slimbox.css'); $this->addCustomTag(''); $this->addCustomTag(''); $this->addCustomTag(''); ?>