diff --git a/CHANGES.md b/CHANGES.md index 1acb4d78..0d73adb9 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,8 +1,11 @@ # Changelog +## Version 12.3.11 +- Interdit la création d'une langue autrement que par un administrateur. + ## Version 12.3.10 - Edition d'un utilisateur, affiche correctement la langue de l'interface dans l'édition d'un utilisateur. -- Mise à jour du fichier dialog.php de Responsive File Manager +- Mise à jour du fichier dialog.php de Responsive File Manager. - Vulnérabilité dans ajax_call.php CVE-2020-10567, désactivation de TUI Editor et de la fonction save_image. ## Version 12.3.09 diff --git a/LISEZMOI.md b/LISEZMOI.md index d9dd689d..13275bf5 100644 --- a/LISEZMOI.md +++ b/LISEZMOI.md @@ -1,4 +1,4 @@ -# ZwiiCMS 12.3.10 +# ZwiiCMS 12.3.11 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 a44bcf0d..d25f206c 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ZwiiCMS 12.3.10 +# ZwiiCMS 12.3.11 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 d374b7f8..96576b3c 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.10'; + const ZWII_VERSION = '12.3.11'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; diff --git a/core/module/translate/translate.php b/core/module/translate/translate.php index 56b22443..da5e58db 100644 --- a/core/module/translate/translate.php +++ b/core/module/translate/translate.php @@ -658,7 +658,10 @@ class translate extends common * déjà initialisée * fait partie des langues installées */ + if ( + $this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD') && + $this->getUser('group') > self::GROUP_MODERATOR && array_key_exists($lang, self::$languages) === true ) {