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