diff --git a/CHANGES.md b/CHANGES.md index 5da2f0ca..f27ff297 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -15,6 +15,12 @@ - Connexion persistante, l'activation de la case à cocher *Rester connecté sur ce navigateur* ne ferme pas la session lorsque le navigateur est fermé. - Suppression du Google Analytics. +## Version 11.5.07 +### Correction : +- Création du dossier des fontes personnalisées en cas d'absence. +### Amélioration : +- Détection d'une mise à jour. + ## Version 11.5.06 ### Corrections : - Défaut d'affichage de la barre des membres dans la zone de menu. diff --git a/README.md b/README.md index 206a251e..dce10f59 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ZwiiCMS 12.0.00 +# ZwiiCMS 11.5.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/core/class/helper.class.php b/core/class/helper.class.php index ba19a085..756cc94d 100644 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -290,8 +290,8 @@ class helper { * @return bool */ public static function checkNewVersion() { - - if($version = helper::getOnlineVersion()) { + $version = helper::getOnlineVersion(); + if( !empty($version) ) { return ((version_compare(common::ZWII_VERSION, $version)) === -1); } else { diff --git a/core/core.php b/core/core.php index 3e8002bd..be31d194 100644 --- a/core/core.php +++ b/core/core.php @@ -46,8 +46,13 @@ class common { // Numéro de version const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; +<<<<<<< HEAD const ZWII_VERSION = '12.0.00-dev'; const ZWII_UPDATE_CHANNEL = "test"; +======= + const ZWII_VERSION = '11.5.07'; + const ZWII_UPDATE_CHANNEL = "v11"; +>>>>>>> 11507 public static $actions = []; public static $coreModuleIds = [ @@ -1231,6 +1236,16 @@ class common { $item .= '

' . $this->getData(['locale', 'cookies', 'mainLabel']) . '

'; // Formulaire de réponse $item .= '
'; +<<<<<<< HEAD +======= + $analytics = $this->getData(['config', 'seo', 'analyticsId']); + $stateCookieGA = $this->getInput('ZWII_COOKIE_GA_CONSENT') === 'true' ? 'checked="checked"' : ''; + if( $analytics !== null AND $analytics !== '' ) { + $item .= '

' . $this->getData(['locale', 'cookies', 'gaLabel']) . '

'; + $item .= ''; + $item .= ''; + } +>>>>>>> 11507 $item .= '

'; $item .= ''; $item .= '
';