From 0ee1c29b1c2c95e16b10a83091a6fbaae302af00 Mon Sep 17 00:00:00 2001 From: deltacms Date: Sat, 24 Feb 2024 08:56:08 +0100 Subject: [PATCH] suppression iframe paresseux --- CHANGES.md | 8 ++++++++ README.md | 2 +- core/core.js.php | 4 ++-- core/core.php | 2 +- core/include/update.inc.php | 3 +++ 5 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 57171c7..f13de80 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,13 @@ # Changelog +## Version 5.0.02 de Deltacms +- Modifications : + - +- Corrections : + - +- Sur le site : + - + ## Version 5.0.01 de Deltacms - Modifications : - Edition de page : nouvelle option avec la possibilité d'autoriser des commentaires sur une page. la configuration des commentaires est commune à toutes les pages, la gestion propre à chaque page. Cette option n'utilise pas de module. diff --git a/README.md b/README.md index e452f3f..fc6baa0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# DeltaCMS 5.0.01 +# DeltaCMS 5.0.02 DeltaCMS 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. L'administration du site est trilingue espagnol (castillan), anglais ou français, le site peut être rédigé dans une langue quelconque. diff --git a/core/core.js.php b/core/core.js.php index 10864a5..9080acb 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -567,9 +567,9 @@ core.relativeLuminanceW3C = function(rgba) { }); /** - * Chargement paresseux des images et des iframes + * Chargement paresseux des images */ - $("img,picture,iframe").attr("loading","lazy"); + $("img,picture").attr("loading","lazy"); /** * Effet accordéon diff --git a/core/core.php b/core/core.php index bd9729a..ca42e3a 100644 --- a/core/core.php +++ b/core/core.php @@ -52,7 +52,7 @@ class common { // Numéro de version const DELTA_UPDATE_URL = 'https://update.deltacms.fr/master/'; - const DELTA_VERSION = '5.0.01'; + const DELTA_VERSION = '5.0.02'; const DELTA_UPDATE_CHANNEL = "v5"; public static $actions = []; diff --git a/core/include/update.inc.php b/core/include/update.inc.php index c120415..c00adc2 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -197,4 +197,7 @@ if ($this->getData(['core', 'dataVersion']) < 5001) { } $this->setData(['core', 'dataVersion', 5001]); } +if ($this->getData(['core', 'dataVersion']) < 5002) { + $this->setData(['core', 'dataVersion', 5002]); +} ?>