| Current Path : /home/cbequiperp/www/templates/elvyre/tpls/blocks/ |
| Current File : /home/cbequiperp/www/templates/elvyre/tpls/blocks/header.php |
<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
// get params
$sitename = $this->params->get('sitename');
$slogan = $this->params->get('slogan', '');
$logotype = $this->params->get('logotype', 'text');
$logoimage = $logotype == 'image' ? $this->params->get('logoimage', 'templates/' . T3_TEMPLATE . '/images/logo.png') : '';
$logoimgsm = ($logotype == 'image' && $this->params->get('enable_logoimage_sm', 0)) ? $this->params->get('logoimage_sm', '') : false;
if (!$sitename) {
$sitename = JFactory::getConfig()->get('sitename');
}
$logosize = 'col-sm-12';
if ($headright = $this->countModules('head-search or languageswitcherload')) {
$logosize = 'col-sm-8';
}
?>
<!-- .header-wrapper start -->
<div id="header-wrapper" class="clearfix">
<!-- .top-bar start -->
<section id="top-bar-wrapper">
<div id="top-bar" class="clearfix">
<jdoc:include type="modules" name="<?php $this->_p('topmenu') ?>" style="xhtml"/>
</div><!-- .top-bar end -->
</section><!-- .top-bar-wrapper end -->
<!-- #header start -->
<header id="header" class="clearfix">
<section id="logo">
<jdoc:include type="modules" name="<?php $this->_p('home-0') ?>" style="xhtml"/>
</section>
<section id="nav-container">
<jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="xhtml"/>
</section><!-- #nav-container end -->
<!-- #dl-menu.dl-menuwrapper start -->
<div id="dl-menu" class='dl-menuwrapper'>
<button class="dl-trigger">Open Menu</button>
<ul class = "dl-menu">
<jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="xhtml"/>
</ul>
</div><!-- #dl-menu.dl-menuwrapper end -->
<!-- #search-box start -->
<section id="search">
<?php if ($this->countModules('head-search')) : ?>
<!-- HEAD SEARCH -->
<div class="head-search <?php $this->_c('head-search') ?>">
<jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
</div>
<!-- //HEAD SEARCH -->
<?php endif ?>
</section><!-- #search-box end -->
</header><!-- .header end -->
<div id="banner">
<jdoc:include type="modules" name="<?php $this->_p('pagebanner') ?>" />
</div>
</div><!-- .header-wrapper end -->