diff --git a/core/layout/main.php b/core/layout/main.php index a0bb8eed..7dcd3176 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -152,12 +152,11 @@ $content = 'col' . $blocks[1]; $blockright = 'col' . $blocks[2]; } + // Page pleine pour la configuration des modules et l'édition des pages if (sizeof($blocks) === 1 || - ($this->getData(['page', $this->getUrl(2), 'moduleId']) == '' && - $this->getUrl(1) == 'config' || // Configuration d'un module en page pleibe - $this->getUrl(1) == 'data' || // données de formulaire en page pleine - $this->getUrl(1) == 'comment' // données des commentaires en page pleine - )) { + $this->getUrl(1) === '' || + $this->getData(['page', $this->getUrl(2), 'moduleId']) == '' + ) { ?>showContent();?>