Limiter le multi colonne aux seules pages

This commit is contained in:
fredtempez 2019-01-09 18:38:50 +01:00
parent 56431f99db
commit 47a594c1de

View File

@ -115,10 +115,12 @@
</div> </div>
</nav> </nav>
<?php endif; ?> <?php endif; ?>
<!-- Corps --> <!-- corps -->
<?php if ( is_null($this->getData(['page',$this->getUrl(0)])) OR <?php if ( $this->getData(['page',$this->getUrl(0)]) === NULL OR
is_null($this->getData(['module',$this->getUrl(0)])) OR $this->getData(['module',$this->getUrl(0)]) === NULL OR
$this->getUrl(1) !== '' ) { ?> <!-- Multi colonne uniquement pour les pages --> $this->getUrl(0) === 'page' OR
$this->getUrl(1) === 'config'
) { ?> <!-- Multi colonne uniquement pour les pages du site hors config, theme etc.-->
<section><?php $layout->showContent(); ?></section> <section><?php $layout->showContent(); ?></section>
<?php } else { <?php } else {
$blocks = explode('-',$this->getData(['theme','site','blocks'])); $blocks = explode('-',$this->getData(['theme','site','blocks']));