input; $user = JFactory::getUser(); // Load optional RTL Bootstrap CSS JHtml::_('bootstrap.loadCss', false, $this->direction); // Load system style CSS $doc->addStyleSheetVersion($this->baseurl . '/templates/system/css/system.css'); // Loadtemplate CSS $doc->addStyleSheetVersion($this->baseurl . '/templates/' . $this->template . '/css/template.css'); // Load additional CSS styles for colors if (!$this->params->get('colourChoice')) { $colour = 'standard'; } else { $colour = htmlspecialchars($this->params->get('colourChoice')); } $doc->addStyleSheetVersion($this->baseurl . '/templates/' . $this->template . '/css/colour_' . $colour . '.css'); // Load custom.css $file = 'templates/' . $this->template . '/css/custom.css'; if (is_file($file)) { $doc->addStyleSheetVersion($file); } // Load specific language related CSS $file = 'language/' . $lang->getTag() . '/' . $lang->getTag() . '.css'; if (is_file($file)) { $doc->addStyleSheetVersion($file); } // Load additional CSS styles for rtl sites if ($this->direction == 'rtl') { $doc->addStyleSheetVersion($this->baseurl . '/templates/' . $this->template . '/css/template_rtl.css'); $doc->addStyleSheetVersion($this->baseurl . '/templates/' . $this->template . '/css/colour_' . $colour . '_rtl.css'); } // Load specific language related CSS $file = 'language/' . $lang->getTag() . '/' . $lang->getTag() . '.css'; if (is_file($file)) { $doc->addStyleSheetVersion($file); } // Load additional CSS styles for bold Text if ($this->params->get('boldText')) { $doc->addStyleSheetVersion($this->baseurl . '/templates/' . $this->template . '/css/boldtext.css'); } // Load template javascript $doc->addScriptVersion($this->baseurl . '/templates/' . $this->template . '/js/template.js'); // Logo file if ($this->params->get('logoFile')) { $logo = JUri::root() . $this->params->get('logoFile'); } else { $logo = $this->baseurl . '/templates/' . $this->template . '/images/logo.png'; } ?>