forked from ZwiiCMS-Team/ZwiiCMS
12100 Fix body.inc.html called twice
This commit is contained in:
parent
552f2d7295
commit
c67a1c0e8e
@ -1380,9 +1380,6 @@ class common
|
|||||||
if ((sizeof($blocks) === 1 ||
|
if ((sizeof($blocks) === 1 ||
|
||||||
in_array($this->getUrl(1), $pattern))) { // Pleine page en mode configuration
|
in_array($this->getUrl(1), $pattern))) { // Pleine page en mode configuration
|
||||||
$this->showContent();
|
$this->showContent();
|
||||||
if (file_exists(self::DATA_DIR . 'body.inc.html')) {
|
|
||||||
include(self::DATA_DIR . 'body.inc.html');
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
echo '<div class="row siteContainer">';
|
echo '<div class="row siteContainer">';
|
||||||
/**
|
/**
|
||||||
@ -1412,9 +1409,6 @@ class common
|
|||||||
*/
|
*/
|
||||||
echo '<div class="' . $content . '" id="contentSite">';
|
echo '<div class="' . $content . '" id="contentSite">';
|
||||||
$this->showContent();
|
$this->showContent();
|
||||||
if (file_exists(self::DATA_DIR . 'body.inc.html')) {
|
|
||||||
include(self::DATA_DIR . 'body.inc.html');
|
|
||||||
}
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
/**
|
/**
|
||||||
* Barre droite
|
* Barre droite
|
||||||
|
Loading…
Reference in New Issue
Block a user