From 4f17300d82df6a6ee50cc61008f9af9dc1433ec5 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 8 Jul 2019 14:55:06 +0200 Subject: [PATCH] [9.2.0.dev] modif include body --- core/layout/main.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/core/layout/main.php b/core/layout/main.php index 76ad8d34..c2a80637 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -169,6 +169,9 @@ $blogItem === false ) { // Pleine page en mode configuration $layout->showContent(); + if (file_exists('site/data/body.inc.html')) { + include('site/data/body.inc.html'); + } } else { ?>
@@ -178,8 +181,11 @@ showBarContentLeft(); ?>
-
showContent(); ?> - +
showContent(); + if (file_exists('site/data/body.inc.html')) { + include('site/data/body.inc.html'); + } + ?>
@@ -189,9 +195,6 @@