forked from ZwiiCMS-Team/ZwiiCMS
Amélioration annulation multi colonne
This commit is contained in:
parent
ee85455248
commit
56431f99db
@ -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']));
|
||||
|
Loading…
Reference in New Issue
Block a user