diff --git a/CHANGES.md b/CHANGES.md index 66efc4f4..ace579fa 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,8 @@ # Changelog +## Version 12.3.02 +- Amélioration de l'obfuscation. + ## Version 12.3.01 ### Améliorations : - Prise en charge PHP 8.2 diff --git a/LISEZMOI.md b/LISEZMOI.md index 90172085..01073475 100644 --- a/LISEZMOI.md +++ b/LISEZMOI.md @@ -1,4 +1,4 @@ -# ZwiiCMS 12.3.01 +# ZwiiCMS 12.3.02 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 0f9b8e1d..9636a164 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ZwiiCMS 12.3.01 +# ZwiiCMS 12.3.02 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/class/router.class.php b/core/class/router.class.php index 74ea8b44..c65b8a12 100644 --- a/core/class/router.class.php +++ b/core/class/router.class.php @@ -910,7 +910,7 @@ class core extends common ob_start(); require 'core/layout/light.php'; // Supprime les espaces, les sauts de ligne, les tabulations et autres caractères inutiles - $content = preg_replace('/\s+/u', ' ', ob_get_clean()); + $content = preg_replace('/[\t ]+/u', ' ', ob_get_clean()); // Convertit la chaîne en UTF-8 pour conserver les caractères accentués $content = mb_convert_encoding($content, 'UTF-8', 'UTF-8'); echo $content; @@ -920,7 +920,7 @@ class core extends common ob_start(); require 'core/layout/main.php'; // Supprime les espaces, les sauts de ligne, les tabulations et autres caractères inutiles - $content = preg_replace('/\s+/u', ' ', ob_get_clean()); + $content = preg_replace('/[\t ]+/u', ' ', ob_get_clean()); // Convertit la chaîne en UTF-8 pour conserver les caractères accentués $content = mb_convert_encoding($content, 'UTF-8', 'UTF-8'); echo $content; diff --git a/core/core.php b/core/core.php index f3bda6d9..f8d57d4b 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.01'; + const ZWII_VERSION = '12.3.02'; const ZWII_DATAVERSION = 12301; diff --git a/core/layout/main.php b/core/layout/main.php index 391bad0f..908e3246 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -16,7 +16,6 @@ - getData(['page', $this->getUrl(0), 'moduleId']) === 'blog' or $this->getData(['page', $this->getUrl(0), 'moduleId']) === 'news') @@ -31,16 +30,13 @@ include(self::DATA_DIR . 'head.inc.html'); } ?> -
getUser('group') > self::GROUP_MEMBER) : ?> showBar(); ?> - showNotification(); ?> - getData(['theme', 'menu', 'position']) === 'body-first' || $this->getData(['theme', 'menu', 'position']) === 'top') : ?> @@ -71,7 +67,6 @@ - getData(['theme', 'header', 'position']) === 'body') : ?> getData(['theme', 'header', 'linkHomePage']) && $this->getData(['theme', 'header', 'feature']) === 'wallpaper') ? '' : ''; ?> @@ -101,7 +96,6 @@ getData(['theme', 'menu', 'position']) === 'body-second') : ?> - -