[9.2.15] Popup notification + modif

This commit is contained in:
fredtempez 2019-12-08 18:40:30 +01:00
parent b9039fe685
commit 37f69c3fcb
2 changed files with 32 additions and 31 deletions

View File

@ -1527,12 +1527,13 @@ class core extends common {
'metaDescription' => $this->getData(['config', 'metaDescription'])
]);
}
// Traitement de la popup hors connexion.
if( $this->output['targetLity'] &&
$this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')
) {
require 'core/layout/popup.php';
} else {
$this->output['display'] = self::DISPLAY_LAYOUT_POPUP;
}
switch($this->output['display']) {
// Layout vide
case self::DISPLAY_LAYOUT_BLANK:
@ -1553,7 +1554,7 @@ class core extends common {
break;
// Layout poup lity
case self::DISPLAY_LAYOUT_POPUP:
require 'core/layout/popup.php';
break;
// Layout brut
case self::DISPLAY_RAW:
@ -1561,7 +1562,6 @@ class core extends common {
break;
}
}
}
}

View File

@ -20,6 +20,7 @@
}?>
</head>
<body>
<?php $layout->showNotification(); ?>
<!-- Corps de page -->
<section>
<?php