[9.2.0.dev] modif include body

This commit is contained in:
fredtempez 2019-07-08 14:55:06 +02:00
parent 90061d42ca
commit 4f17300d82

View File

@ -169,6 +169,9 @@
$blogItem === false $blogItem === false
) { // Pleine page en mode configuration ) { // Pleine page en mode configuration
$layout->showContent(); $layout->showContent();
if (file_exists('site/data/body.inc.html')) {
include('site/data/body.inc.html');
}
} else { } else {
?> ?>
<div class="row siteContainer"> <div class="row siteContainer">
@ -178,8 +181,11 @@
<?php $layout->showBarContentLeft(); ?> <?php $layout->showBarContentLeft(); ?>
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="<?php echo $content; ?>" id="contentSite"><?php $layout->showContent(); ?> <div class="<?php echo $content; ?>" id="contentSite"><?php $layout->showContent();
if (file_exists('site/data/body.inc.html')) {
include('site/data/body.inc.html');
}
?>
</div> </div>
<?php <?php
if ($blockright !== "") :?> if ($blockright !== "") :?>
@ -189,9 +195,6 @@
<?php endif; ?> <?php endif; ?>
</div> </div>
<?php } <?php }
if (file_exists('site/data/body.inc.html')) {
include('site/data/body.inc.html');
}
?> ?>
</section> </section>
<!-- footer --> <!-- footer -->