Amélioration annulation multi colonne

This commit is contained in:
fredtempez 2019-01-08 22:28:08 +01:00
parent ee85455248
commit 56431f99db
1 changed files with 4 additions and 7 deletions

View File

@ -116,12 +116,9 @@
</nav> </nav>
<?php endif; ?> <?php endif; ?>
<!-- Corps --> <!-- Corps -->
<?php if ($this->getUrl(0) === 'theme' OR <?php if ( is_null($this->getData(['page',$this->getUrl(0)])) OR
$this->getUrl(0) === 'config' OR is_null($this->getData(['module',$this->getUrl(0)])) OR
$this->getUrl(0) === 'install' OR $this->getUrl(1) !== '' ) { ?> <!-- Multi colonne uniquement pour les pages -->
$this->getUrl(0) === 'maintenance' OR
$this->getUrl(0) === 'page' OR
$this->getUrl(0) === 'user' ) { ?> <!-- Pas de multi colonne-->
<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']));