Position de la section

This commit is contained in:
Fred 2019-01-18 10:15:22 +01:00 committed by GitHub
parent 00683c5a2f
commit 9cf423b8c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 13 deletions

View File

@ -114,6 +114,8 @@
</div> </div>
</nav> </nav>
<?php endif; ?> <?php endif; ?>
<!-- Corps de page -->
<section>
<?php <?php
// Gabarit : // Gabarit :
// Récupérer la config de la page courante // Récupérer la config de la page courante
@ -140,16 +142,16 @@
} }
if (sizeof($blocks) === 1 ) { if (sizeof($blocks) === 1 ) {
?><section><?php $layout->showContent();?></section><?php ?><?php $layout->showContent();?><?php
} else { } else {
?> ?>
<div class="row"> <div class="row">
<?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></section> </div>
<?php } ?> <?php } ?>
</section>
<!-- footer --> <!-- footer -->
<?php if( <?php if(
$this->getData(['theme', 'footer', 'position']) === 'site' $this->getData(['theme', 'footer', 'position']) === 'site'