Id pour chaque bloc

This commit is contained in:
fredtempez 2019-01-04 09:00:48 +01:00
parent 0e73bf3cfe
commit 5cdb96d25f
2 changed files with 11 additions and 3 deletions

View File

@ -146,9 +146,9 @@
?> ?>
<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; ?>" id="contentleft"><?php echo $this->getData(['theme','block','contentLeft']);?></div> <?php endif; ?>
<div class="<?php echo $content; ?>"><?php $layout->showContent(); ?></div> <div class="<?php echo $content; ?>" id="contentsite"><?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; ?>" id="contentright"><?php echo $this->getData(['theme','block','contentRight']);?></div> <?php endif; ?>
</div> </div>
</section> </section>
<?php } ?> <?php } ?>

View File

@ -15,6 +15,14 @@ body {
#site { #site {
} }
/* Blocs dans le site */
#contentleft {
}
#contentright {
}
#contentsite {
}
/* Bannière */ /* Bannière */
header { header {
} }