From 022bc9ce7bcd072780b4a7615bf37837c3bc6d04 Mon Sep 17 00:00:00 2001 From: F TEMPEZ Date: Wed, 29 Nov 2023 13:52:39 +0100 Subject: [PATCH] =?UTF-8?q?met=20=C3=A0=20jour=20le=20site=20map=20=C3=A0?= =?UTF-8?q?=20l'ouverture=20de=20l'=C3=A9dition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/page/page.php | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/core/module/page/page.php b/core/module/page/page.php index 26e12bbf..dd8636ed 100644 --- a/core/module/page/page.php +++ b/core/module/page/page.php @@ -68,10 +68,10 @@ class page extends common public static $userProfils = []; public static $navIconTemplate = [ - 'dir' => 'Petit triangle', - 'open' => 'Grand triangle', - 'big' => 'Flèche', - ]; + 'dir' => 'Petit triangle', + 'open' => 'Grand triangle', + 'big' => 'Flèche', + ]; public static $navIconPosition = [ 'none' => 'Masqué', @@ -539,6 +539,9 @@ class page extends common } // Construction du formulaire + // Met à jour le sitemap + $this->updateSitemap(); + // Création du sélecteur de modules self::$moduleIds = []; foreach (helper::getModules() as $key => $values) { @@ -599,7 +602,8 @@ class page extends common $css = $this->getInput('pageCssEditorContent', helper::FILTER_STRING_LONG) === null ? '' : $this->getInput('pageCssEditorContent', helper::FILTER_STRING_LONG); // Enregistre le CSS $this->setData([ - 'page', $this->getUrl(2), + 'page', + $this->getUrl(2), 'css', $css ]); @@ -633,7 +637,8 @@ class page extends common $js = $this->getInput('pageJsEditorContent', helper::FILTER_STRING_LONG) === null ? '' : $this->getInput('pageJsEditorContent', helper::FILTER_STRING_LONG); // Enregistre le JS $this->setData([ - 'page', $this->getUrl(2), + 'page', + $this->getUrl(2), 'js', $js ]);