From 47a594c1de5c156a18d92f7e29def5f4fb9836b9 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 9 Jan 2019 18:38:50 +0100 Subject: [PATCH] Limiter le multi colonne aux seules pages --- core/layout/main.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/core/layout/main.php b/core/layout/main.php index 4507da51..7518a518 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -115,10 +115,12 @@ - - getData(['page',$this->getUrl(0)])) OR - is_null($this->getData(['module',$this->getUrl(0)])) OR - $this->getUrl(1) !== '' ) { ?> + + getData(['page',$this->getUrl(0)]) === NULL OR + $this->getData(['module',$this->getUrl(0)]) === NULL OR + $this->getUrl(0) === 'page' OR + $this->getUrl(1) === 'config' + ) { ?>
showContent(); ?>
getData(['theme','site','blocks']));