File: /home/confeduphaar/backip-old-files/libraries/astroid/framework/frontend/header.php
<?php
/**
* @package Astroid Framework
* @author JoomDev https://www.joomdev.com
* @copyright Copyright (C) 2009 - 2020 JoomDev.
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
* DO NOT MODIFY THIS FILE DIRECTLY AS IT WILL BE OVERWRITTEN IN THE NEXT UPDATE
* You can easily override all files under /frontend/ folder.
* Just copy the file to ROOT/templates/YOURTEMPLATE/html/frontend/ folder to create and override
*/
defined('_JEXEC') or die;
extract($displayData);
$params = Astroid\Framework::getTemplate()->getParams();
$document = Astroid\Framework::getDocument();
$header = $params->get('header', TRUE);
$mode = $params->get('header_mode', 'horizontal');
if (!$header || $mode == 'sidebar') {
return;
}
$document->include('header.' . $mode);
$enable_sticky_menu = $params->get('enable_sticky_menu', false);
if ($enable_sticky_menu) {
$document->include('header.sticky');
}