From 1f6c665479dd11101ab9a733465f816bfc63bec0 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 2 Apr 2021 16:33:14 +0200 Subject: [PATCH] =?UTF-8?q?Lity=20=C3=A0=20tester?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/core/core.php b/core/core.php index afd66b45..c2dabd12 100755 --- a/core/core.php +++ b/core/core.php @@ -2179,11 +2179,15 @@ class core extends common { } } // Données en sortie applicables même lorsqu'une notice est présente - // Affichage - if ( $this->getData(['page', $this->getUrl(0), 'lity']) === true - && $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') ) { - $this->addOutput(['display' => self:: DISPLAY_LAYOUT_LITY]); - } else { + // Affichage changer lity en main si connexion + if ( $this->getData(['page', $this->getUrl(0), 'lity']) === true + && $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') ) + { + $this->addOutput([ + 'display' => self:: DISPLAY_LAYOUT_LITY + ]); + + } else { if($output['display']) { $this->addOutput([ 'display' => $output['display']