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"; } ?>
input->get('task'); if ($task == 'edit' || $task == 'editA' || $app->input->getInt('hidemainmenu')) { $logoutLink = ''; } else { $logoutLink = JRoute::_('index.php?option=com_login&task=logout&'. JSession::getFormToken() .'=1'); } $hideLinks = $app->input->getBool('hidemainmenu'); $output = array(); // Print the Preview link to Main site. //$output[] = ''.JText::_('JGLOBAL_VIEW_SITE').''; // Print the logout link. //$output[] = '' .($hideLinks ? '' : '').JText::_('JLOGOUT').($hideLinks ? '' : '').''; // Output the items. foreach ($output as $item) : echo $item; endforeach; ?>
input->getInt('hidemainmenu')) : ?>