forked from ZwiiCMS-Team/ZwiiCMS
Test multi colonne
This commit is contained in:
parent
0bb53c0780
commit
16324fae41
@ -115,14 +115,19 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<!-- corps -->
|
<?php
|
||||||
<?php if ( $this->getData(['page',$this->getUrl(0)]) === NULL OR
|
// Multi colonne uniquement pour les pages du site hors config, theme etc..
|
||||||
$this->getData(['module',$this->getUrl(0)]) === NULL OR
|
if (
|
||||||
|
$this->getUrl(0) === 'user' OR
|
||||||
|
$this->getUrl(0) === 'theme' OR
|
||||||
|
$this->getUrl(0) === 'config' OR
|
||||||
$this->getUrl(0) === 'page' OR
|
$this->getUrl(0) === 'page' OR
|
||||||
$this->getUrl(1) === 'config'
|
$this->getUrl(1) === 'config' OR
|
||||||
) { ?> <!-- Multi colonne uniquement pour les pages du site hors config, theme etc.-->
|
$this->getUrl(1) === 'edit'
|
||||||
|
) { ?>
|
||||||
<section><?php $layout->showContent(); ?></section>
|
<section><?php $layout->showContent(); ?></section>
|
||||||
<?php } else {
|
<?php } else {
|
||||||
|
// multi-colonnes
|
||||||
$blocks = explode('-',$this->getData(['theme','site','blocks']));
|
$blocks = explode('-',$this->getData(['theme','site','blocks']));
|
||||||
$blockleft=$blockright="";
|
$blockleft=$blockright="";
|
||||||
switch (sizeof($blocks)) {
|
switch (sizeof($blocks)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user