input; $user = JFactory::getUser(); // Load optional RTL Bootstrap CSS JHtml::_('bootstrap.loadCss', false, $this->direction); // Load system style CSS $doc->addStyleSheet('templates/system/css/system.css'); // Loadtemplate CSS $doc->addStyleSheet('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')); endif; $doc->addStyleSheet('templates/'.$this->template.'/css/colour_'.$colour.'.css'); // Load specific language related CSS $file = 'language/' . $lang->getTag() . '/' . $lang->getTag() . '.css'; if (is_file($file)) { $doc->addStyleSheet($file); } // Load additional CSS styles for rtl sites if ($this->direction == 'rtl') { $doc->addStyleSheet('templates/'.$this->template.'/css/template_rtl.css'); $doc->addStyleSheet('templates/'.$this->template.'/css/colour_'.$colour.'_rtl.css'); } // Load specific language related CSS $file = 'language/'.$lang->getTag().'/'.$lang->getTag().'.css'; if (JFile::exists($file)) { $doc->addStyleSheet($file); } // Load additional CSS styles for bold Text if ($this->params->get('boldText')) { $doc->addStyleSheet('templates/'.$this->template.'/css/boldtext.css'); } // Load template javascript $doc->addScript('templates/'.$this->template.'/js/template.js', 'text/javascript'); // Logo file if ($this->params->get('logoFile')) { $logo = JUri::root() . $this->params->get('logoFile'); } else { $logo = $this->baseurl . "/templates/" . $this->template . "/images/logo.png"; } ?>