diff --git a/CHANGES.md b/CHANGES.md
index 553fd7dd..b4897cf4 100755
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -9,7 +9,8 @@
- Traduction selon la langue navigateur
- Configuration du site :
- Activation et désactivation de la déconnexion automatique empêchant plusieurs sessions avec le même compte.
-
+ - Pages : option d'affichage dans une fenêtre superposée (Lity).
+
## version 10.5.01
- Modifications :
- Rechargement du fichier de style common.css et du jeu d'icônes du système après une mise à jour.
diff --git a/core/core.php b/core/core.php
index d75f2813..7dba8c8f 100755
--- a/core/core.php
+++ b/core/core.php
@@ -2074,7 +2074,7 @@ class core extends common {
'disable' => $this->getData(['page', $this->getUrl(0), 'disable']),
'contentRight' => $this->getData(['page',$this->getData(['page',$this->getUrl(0),'barRight']),'content']),
'contentLeft' => $this->getData(['page',$this->getData(['page',$this->getUrl(0),'barLeft']),'content']),
- 'display' => $this->getData(['page', $this->getUrl(0), 'lity']) === true
+ 'display' => $this->getData(['page', $this->getUrl(0), 'lity']) === true
&& $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')
? self::DISPLAY_LAYOUT_LITY
: $this->output['display']
@@ -2097,7 +2097,11 @@ class core extends common {
'iconUrl' => $this->getData(['page', $this->getUrl(0), 'iconUrl']),
'disable' => $this->getData(['page', $this->getUrl(0), 'disable']),
'contentRight' => $this->getData(['page',$this->getData(['page',$this->getUrl(0),'barRight']),'content']),
- 'contentLeft' => $this->getData(['page',$this->getData(['page',$this->getUrl(0),'barLeft']),'content'])
+ 'contentLeft' => $this->getData(['page',$this->getData(['page',$this->getUrl(0),'barLeft']),'content']),
+ 'display' => $this->getData(['page', $this->getUrl(0), 'lity']) === true
+ && $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')
+ ? self::DISPLAY_LAYOUT_LITY
+ : $this->output['display']
]);
$pageContent = $this->getData(['page', $this->getUrl(0), 'content']);
}
@@ -2528,16 +2532,19 @@ class layout extends common {
$items .= '';
// Affichage du module de recherche
$items .= '';
// Affichage des mentions légales
$items .= '';
// Affichage du lien de connexion