Exclure blocks des paramètres

This commit is contained in:
fredtempez 2019-01-03 20:21:21 +01:00
parent 7c30cbe4e8
commit 95d81bc83e
1 changed files with 6 additions and 4 deletions

View File

@ -118,6 +118,8 @@
<!-- Corps --> <!-- Corps -->
<?php if ($this->getUrl(0) === 'theme' OR <?php if ($this->getUrl(0) === 'theme' OR
$this->getUrl(0) === 'config' OR $this->getUrl(0) === 'config' OR
$this->getUrl(0) === 'install' OR
$this->getUrl(0) === 'maintenance' OR
$this->getUrl(0) === 'user' ) { ?> <!-- Pas de multi colonne--> $this->getUrl(0) === 'user' ) { ?> <!-- Pas de multi colonne-->
<section><?php $layout->showContent(); ?></section> <section><?php $layout->showContent(); ?></section>
<?php } else { <?php } else {
@ -143,10 +145,10 @@
} }
?> ?>
<section> <section>
<div class="row"> <div class="row">
<?php if ($blockleft !== "") :?> <div class="<?php echo $blockleft; ?>"><?php echo $this->getData(['theme','block','contentLeft']);?></div> <?php endif; ?> <?php if ($blockleft !== "") :?> <div class="<?php echo $blockleft; ?>"><?php echo $this->getData(['theme','block','contentLeft']);?></div> <?php endif; ?>
<div class="<?php echo $content; ?>"><?php $layout->showContent(); ?></div> <div class="<?php echo $content; ?>"><?php $layout->showContent(); ?></div>
<?php if ($blockright !== "") :?> <div class="<?php echo $blockright; ?>"><?php echo $this->getData(['theme','block','contentRight']);?></div> <?php endif; ?> <?php if ($blockright !== "") :?> <div class="<?php echo $blockright; ?>"><?php echo $this->getData(['theme','block','contentRight']);?></div> <?php endif; ?>
</div> </div>
</section> </section>
<?php } ?> <?php } ?>