getTemplate(true)->params; $app = JFactory::getApplication(); $doc = JFactory::getDocument(); $lang = JFactory::getLanguage(); $this->language = $doc->language; $this->direction = $doc->direction; $input = $app->input; $user = JFactory::getUser(); // Detecting Active Variables $option = $input->get('option', ''); $view = $input->get('view', ''); $layout = $input->get('layout', ''); $task = $input->get('task', ''); $itemid = $input->get('Itemid', ''); $sitename = $app->get('sitename'); $cpanel = ($option === 'com_cpanel'); $showSubmenu = false; $this->submenumodules = JModuleHelper::getModules('submenu'); foreach ($this->submenumodules as $submenumodule) { $output = JModuleHelper::renderModule($submenumodule); if (strlen($output)) { $showSubmenu = true; break; } } // Logo file if ($params->get('logoFile')) { $logo = JUri::root() . $params->get('logoFile'); } else { $logo = $this->baseurl . '/templates/' . $this->template . '/images/logo.png'; } // Template Parameters $displayHeader = $params->get('displayHeader', '1'); $statusFixed = $params->get('statusFixed', '1'); $stickyToolbar = $params->get('stickyToolbar', '1'); ?>