diff --git a/LISEZMOI.md b/LISEZMOI.md index 8168338a..b2f54115 100644 --- a/LISEZMOI.md +++ b/LISEZMOI.md @@ -1,4 +1,4 @@ -# ZwiiCMS 12.3.04 +# ZwiiCMS 12.3.05 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 07186ec7..60086a8f 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ZwiiCMS 12.3.04 +# ZwiiCMS 12.3.05 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/module/translate/translate.php b/core/module/translate/translate.php index a151e886..4e0baab5 100644 --- a/core/module/translate/translate.php +++ b/core/module/translate/translate.php @@ -178,9 +178,9 @@ class translate extends common // Check si la langue est bien disponible sinon la supprime de la BDD if ($installedUI) { foreach ($installedUI as $key => $value) - if (file_exists(self::I18N_DIR . $key . '.json' ) === false ) { - $this->deleteData(['languages', $key]); - } + if (file_exists(self::I18N_DIR . $key . '.json') === false) { + $this->deleteData(['languages', $key]); + } } // Langues disponibles avec la mise à jour @@ -276,10 +276,10 @@ class translate extends common '', /* template::button('translateContentLanguageUIEdit' . $file, [ - 'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $file, - 'value' => template::ico('pencil'), - 'help' => 'Éditer', - 'disabled' => 'fr_FR' === $file + 'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $file, + 'value' => template::ico('pencil'), + 'help' => 'Éditer', + 'disabled' => 'fr_FR' === $file ]), */ template::button('translateContentLanguageUIDownload' . $file, [