forked from ZwiiCMS-Team/ZwiiCMS
Amélioration annulation multi colonne
This commit is contained in:
parent
ee85455248
commit
56431f99db
@ -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']));
|
||||||
@ -150,7 +147,7 @@
|
|||||||
<?php if ($blockleft !== "") :?> <div class="<?php echo $blockleft; ?>" id="contentleft"><?php echo $this->getData(['page','blockLeft','content']);?></div> <?php endif; ?>
|
<?php if ($blockleft !== "") :?> <div class="<?php echo $blockleft; ?>" id="contentleft"><?php echo $this->getData(['page','blockLeft','content']);?></div> <?php endif; ?>
|
||||||
<div class="<?php echo $content; ?>" id="contentsite"><?php $layout->showContent(); ?></div>
|
<div class="<?php echo $content; ?>" id="contentsite"><?php $layout->showContent(); ?></div>
|
||||||
<?php if ($blockright !== "") :?> <div class="<?php echo $blockright; ?>" id="contentright"><?php echo $this->getData(['page','blockRight','content']);?></div> <?php endif; ?>
|
<?php if ($blockright !== "") :?> <div class="<?php echo $blockright; ?>" id="contentright"><?php echo $this->getData(['page','blockRight','content']);?></div> <?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<!-- footer -->
|
<!-- footer -->
|
||||||
|
Loading…
Reference in New Issue
Block a user