From f56790516e3596c33706e719c8ddd1f55914f949 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 20 Nov 2020 17:08:19 +0100 Subject: [PATCH] =?UTF-8?q?Support=20int=C3=A9gr=C3=A9=20RSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- core/layout/main.php | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index f6397e5a..9423867d 100755 --- a/core/core.php +++ b/core/core.php @@ -44,7 +44,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.4.00.001'; + const ZWII_VERSION = '10.4.00.002'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; diff --git a/core/layout/main.php b/core/layout/main.php index a97261b2..a70f326a 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -15,6 +15,12 @@ $lan = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?> + + getData(['page', $this->getUrl(0), 'moduleId']) === 'blog' + OR $this->getData(['page', $this->getUrl(0), 'moduleId']) === 'news' ) + AND $this->getData(['module', $this->getUrl(0), 'config', 'feeds']) === TRUE ): ?> + + showStyle(); ?>