From 7229473a2245f423e50ee200e538c5cff9d7bb14 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 25 Sep 2020 11:49:11 +0200 Subject: [PATCH] bug menu fixe --- CHANGES.md | 5 +++++ core/layout/main.php | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index bc9d9ebd..87e8f938 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,10 @@ # Changelog +## version 10.3.01 +- Corrections : + - Filtrage des pages affichées dans la configuration et initialisation après une mise à jour. + - Erreur de position du menu fixe en haut de page + ## version 10.3.00 - Corrections : - Bloquage de l'incrémentation de l'id de page lorsque deux pages ont le même nom. diff --git a/core/layout/main.php b/core/layout/main.php index 963a65b8..6a151d2a 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -32,10 +32,14 @@ // if($this->getData(['theme', 'menu', 'position']) === 'top' && $this->getData(['theme', 'menu', 'fixed']) === true) { - if ($this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')) - {echo 'id="navfixedlogout"';} - elseif ($this->getUrl(0) !== 'theme') - {echo 'id="navfixedconnected"';} + if ($this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD')) + { + echo 'id="navfixedconnected"'; + } + else + { + echo 'id="navfixedlogout"'; + } } ?> >