From ec2be096ecb4b181d58c3d11dbc83375ee570f67 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 11 Dec 2019 20:38:27 +0100 Subject: [PATCH] [10.0.008.dev] notification d'import --- core/core.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index d3b2ccec..ae9f25fe 100644 --- a/core/core.php +++ b/core/core.php @@ -34,7 +34,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '10.0.007.dev'; + const ZWII_VERSION = '10.0.008.dev'; public static $actions = []; public static $coreModuleIds = [ @@ -2527,6 +2527,10 @@ class layout extends common { * Affiche la notification */ public function showNotification() { + if (common::$importNotices) { + $notification = common::$importNotices [0]; + $notificationClass = 'notificationSuccess'; + } if(common::$inputNotices) { $notification = 'Impossible de soumettre le formulaire, car il contient des erreurs'; $notificationClass = 'notificationError';