From 6c957c6dd2f8087aaa11da6c6cdc64bdf04d8197 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 15 Feb 2019 08:35:34 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20mode=20page=20pleine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- core/layout/main.php | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/core.php b/core/core.php index 72ca76f8..155fb52e 100644 --- a/core/core.php +++ b/core/core.php @@ -28,7 +28,7 @@ class common { const GROUP_ADMIN = 3; // Numéro de version de développement :/ // Désactive l'update auto - const ZWII_VERSION = '9.0.00-dev6'; + const ZWII_VERSION = '9.0.00-dev7'; // Numéro de version stable //const ZWII_VERSION = '9.0.00'; diff --git a/core/layout/main.php b/core/layout/main.php index 8cd65185..d6f379b9 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -153,14 +153,14 @@ $blockright = 'col' . $blocks[2]; } // Page pleine pour la configuration des modules et l'édition des pages + // ($this->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 if (sizeof($blocks) === 1 || - ($this->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();?>getUrl(1)) ) { // Pleine page en mode configuration + $layout->showContent(); + } else { ?>