From 129a3b568be4e49c649628d58901c3fbf84ba332 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Tue, 8 Feb 2022 11:44:37 +0100 Subject: [PATCH] =?UTF-8?q?id=20et=20class=20des=20=C3=A9l=C3=A9ments=20de?= =?UTF-8?q?=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES.md | 3 ++- core/core.php | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 53a3a97a..ad5cfc38 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,7 +2,7 @@ ## Version 11.3.00 -- Correction : +- Corrections : - Thème / site : problème d'aperçu du body ; police du thème admin non chargées. - Bugs avec les aperçus des sélecteurs de fontes. - Modification : @@ -10,6 +10,7 @@ - Changement de fournisseur, CdnFont remplace Google Font. - Les polices pourront désormais être téléchargées à partir du site et non du CDN. - Thème / Bannière : ergonomie de l'information sur l'image sélectionnée. + - Identifications des éléments du menu, les pages parents prennent comme id CSS leur id, les pages enfants également et pour classe Id de la page parente. ## Version 11.2.05 - Corrections : diff --git a/core/core.php b/core/core.php index 8baa5512..d7b6d6c3 100644 --- a/core/core.php +++ b/core/core.php @@ -1670,10 +1670,10 @@ class common { ) ){ $pageUrl = ($this->getData(['locale', 'homePageId']) === $this->getUrl(0)) ? helper::baseUrl(false) : helper::baseUrl() . $this->getUrl(0); - $itemsLeft .= ''; + $itemsLeft .= ''; } else { $pageUrl = ($this->getData(['locale', 'homePageId']) === $parentPageId) ? helper::baseUrl(false) : helper::baseUrl() . $parentPageId; - $itemsLeft .= ''; + $itemsLeft .= ''; } switch ($this->getData(['page', $parentPageId, 'typeMenu'])) { @@ -1732,10 +1732,10 @@ class common { ) ){ $pageUrl = ($this->getData(['locale', 'homePageId']) === $this->getUrl(0)) ? helper::baseUrl(false) : helper::baseUrl() . $this->getUrl(0); - $itemsLeft .= ''; + $itemsLeft .= ''; } else { $pageUrl = ($this->getData(['locale', 'homePageId']) === $childKey) ? helper::baseUrl(false) : helper::baseUrl() . $childKey; - $itemsLeft .= ''; + $itemsLeft .= ''; } switch ($this->getData(['page', $childKey, 'typeMenu'])) {