forked from ZwiiCMS-Team/ZwiiCMS
[9.2.15] Popup notification + modif
This commit is contained in:
parent
b9039fe685
commit
37f69c3fcb
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
}?>
|
||||
</head>
|
||||
<body>
|
||||
<?php $layout->showNotification(); ?>
|
||||
<!-- Corps de page -->
|
||||
<section>
|
||||
<?php
|
||||
|
Loading…
x
Reference in New Issue
Block a user