|
Written by Administrator
|
|
Wednesday, 21 October 2009 14:49 |
|
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.js.php' => 'text/javascript'), $this->_scripts);
unset($this->_scripts[$this->baseurl . '/media/system/js/mootools.js']);
}
// add template javascript to JDocumentHTML
if ($this->params->get('loadJavascript')) {
$this->addScriptDeclaration($yootools->getJavaScript());
$this->addCustomTag('');
}
// add template css to JDocumentHTML
$this->addStyleSheet($template_baseurl . '/css/template.css.php?color=' . $yootools->getCurrentColor()
. '&styleswitcherFont=' . $this->params->get('styleswitcherFont')
. '&styleswitcherWidth=' . $this->params->get('styleswitcherWidth')
. '&widthThinPx=' . $this->params->get('widthThinPx')
. '&widthWidePx=' . $this->params->get('widthWidePx')
. '&widthFluidPx=' . $this->params->get('widthFluidPx'));
$this->addStyleSheet($template_baseurl . '/lib/js/lightbox/css/slimbox.css');
?>
Partners3
Partners3
|