Amélioration annulation multi colonne

This commit is contained in:
fredtempez 2019-01-08 22:28:08 +01:00
parent ee85455248
commit 56431f99db

View File

@ -116,12 +116,9 @@
</nav>
<?php endif; ?>
<!-- Corps -->
<?php if ($this->getUrl(0) === 'theme' OR
$this->getUrl(0) === 'config' OR
$this->getUrl(0) === 'install' OR
$this->getUrl(0) === 'maintenance' OR
$this->getUrl(0) === 'page' OR
$this->getUrl(0) === 'user' ) { ?> <!-- Pas de multi colonne-->
<?php if ( is_null($this->getData(['page',$this->getUrl(0)])) OR
is_null($this->getData(['module',$this->getUrl(0)])) OR
$this->getUrl(1) !== '' ) { ?> <!-- Multi colonne uniquement pour les pages -->
<section><?php $layout->showContent(); ?></section>
<?php } else {
$blocks = explode('-',$this->getData(['theme','site','blocks']));