From f6ec7dccd5c589bbbed98921f6c6af8d4cac4e41 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 22 Mar 2023 17:50:45 +0100 Subject: [PATCH] Init 12304 --- CHANGES.md | 3 +++ LISEZMOI.md | 2 +- README.md | 2 +- core/core.php | 2 +- core/module/user/user.php | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index ce000e36..02c45a11 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,8 @@ # Changelog +## Version 12.3.04 +- Bug de notification de compte bloqué, la traduction n'est pas effectuée. + ## Version 12.3.03 - Corrige le problème d'affichage lors de l'édition d'une page contenant une feuille style commentée. - Corrige des problèmes d'interprétation des scripts intégrés dans une page. diff --git a/LISEZMOI.md b/LISEZMOI.md index fdfcb7b2..8168338a 100644 --- a/LISEZMOI.md +++ b/LISEZMOI.md @@ -1,4 +1,4 @@ -# ZwiiCMS 12.3.03 +# ZwiiCMS 12.3.04 Zwii est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation. diff --git a/README.md b/README.md index b7374707..07186ec7 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ZwiiCMS 12.3.03 +# ZwiiCMS 12.3.04 Zwii is a database-less (flat-file) CMS that allows you to easily create and manage a web site without any programming knowledge. diff --git a/core/core.php b/core/core.php index 1d9ae9c0..62d3926e 100644 --- a/core/core.php +++ b/core/core.php @@ -53,7 +53,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version et branche pour l'auto-update - const ZWII_VERSION = '12.3.03'; + const ZWII_VERSION = '12.3.04'; const ZWII_DATAVERSION = 12301; diff --git a/core/module/user/user.php b/core/module/user/user.php index 9b8b4071..8b4fc202 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -511,7 +511,7 @@ class user extends common } // Cas 3 le délai de bloquage court if ($this->getData(['user', $userId, 'connectTimeout']) + $this->getData(['config', 'connect', 'timeout']) > time()) { - $notification = sprintf(helper::translate('Accès bloqué %d minutes', ($this->getData(['config', 'connect', 'timeout']) / 60))); + $notification = sprintf(helper::translate('Accès bloqué %d minutes'), ($this->getData(['config', 'connect', 'timeout']) / 60)); } // Valeurs en sortie