params->get('templatecolor'); // Output as HTML5 $this->setHtml5(true); $this->addStyleSheet($this->baseurl . '/templates/system/css/system.css'); $this->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/template.css', 'text/css', 'screen'); $this->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/position.css', 'text/css', 'screen'); $this->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/layout.css', 'text/css', 'screen'); $this->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/print.css', 'text/css', 'print'); $files = JHtml::_('stylesheet', 'templates/' . $this->template . '/css/general.css', null, false, true); if ($files) { if (!is_array($files)) { $files = array($files); } foreach ($files as $file) { $this->addStyleSheet($file); } } $this->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/' . htmlspecialchars($color, ENT_COMPAT, 'UTF-8') . '.css'); if ($this->direction == 'rtl') { $this->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/template_rtl.css'); if (file_exists(JPATH_SITE . '/templates/' . $this->template . '/css/' . htmlspecialchars($color, ENT_COMPAT, 'UTF-8') . '_rtl.css')) { $this->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/' . htmlspecialchars($color, ENT_COMPAT, 'UTF-8') . '_rtl.css'); } } ?>