Current Directory: /home/astoriaah/www/old15/templates/client/tpls/blocks
Viewing File: /home/astoriaah/www/old15/templates/client/tpls/blocks/logo.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;
$offcanvas = 0;
$offcanvas_spotlight = 0;
$triggertext = $this->getParam('off-canvas-trigger-text');
if ($this->getParam('addon_offcanvas_enable')) {
$offcanvas = 1;
}
if ($this->checkSpotlight('off-canvas', 'menu,offcanvas')) $offcanvas_spotlight = 1;
if($offcanvas && $offcanvas_spotlight) {
$offcanvas = 1;
}
if (($this->checkSpotlight('logo', 'logo, search')) || $offcanvas) : ?>
<!-- Grid4 Row -->
<section id="logowrap" <?php if($this->getParam('stickynav')) {?>data-uk-sticky<?php } ?> class="off-canvas-<?php echo $offcanvas;?> <?php if($triggertext !="") {?>with-text<?php } ?>">
<div class="container">
<?php
$this->spotlight ('logo', 'logo, search');
?>
<?php if ($this->countModules('langue')) : ?>
<div id="langue">
<jdoc:include type="modules" name="langue" style="jbChrome" />
</div>
<?php endif; ?>
<?php $this->loadBlock ('off-canvas') ?>
</div>
</section>
<?php endif;?>