From 881ed55ca13cbca0c9fef3e2d78c21ddc05b6cd5 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 14 Feb 2019 19:10:25 +0100 Subject: [PATCH] =?UTF-8?q?Annulation=20du=20commit=20am=C3=A9lioration=20?= =?UTF-8?q?du=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/layout/main.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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();?>