<?php
/*--------------------------------------------------------------
# Copyright (C) joomla-monster.com
# License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
# Website: http://www.joomla-monster.com
# Support: info@joomla-monster.com
---------------------------------------------------------------*/

defined('_JEXEC') or die;

$highContrast = htmlspecialchars($this->params->get('highContrast','0'));

if ($this->checkModules('header') or $this->checkModules('header-bg')) : ?>
<div id="jm-header" class="<?php echo $this->getClass('block#header') ?>"<?php if($highContrast) echo ' role="region" aria-label="'.JText::_( 'PLG_SYSTEM_JMFRAMEWORK_CONFIG_LABEL_HEADER' ).'"'; ?>>
	<?php if ($this->checkModules('header-bg')) : ?>
	<div id="jm-header-bg" class="<?php echo $this->getClass('header-bg') ?>">   
		<jdoc:include type="modules" name="<?php echo $this->getPosition('header-bg'); ?>" style="jmmoduleraw"/>
	</div> 
	<?php endif; ?>
	<?php if ($this->checkModules('header')) : ?>
	<div id="jm-header-content" class="container-fluid <?php echo $this->getClass('header') ?>">
		<div id="jm-header-content-in" class="clearfix">
			<jdoc:include type="modules" name="<?php echo $this->getPosition('header'); ?>" style="jmmodule"/>
		</div>
	</div>
	<?php endif; ?>
</div>
<?php endif; ?>