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->getCfg('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"; } ?>