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'])
|
'metaDescription' => $this->getData(['config', 'metaDescription'])
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
// Traitement de la popup hors connexion.
|
||||||
if( $this->output['targetLity'] &&
|
if( $this->output['targetLity'] &&
|
||||||
$this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')
|
$this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')
|
||||||
) {
|
) {
|
||||||
require 'core/layout/popup.php';
|
$this->output['display'] = self::DISPLAY_LAYOUT_POPUP;
|
||||||
} else {
|
}
|
||||||
|
|
||||||
switch($this->output['display']) {
|
switch($this->output['display']) {
|
||||||
// Layout vide
|
// Layout vide
|
||||||
case self::DISPLAY_LAYOUT_BLANK:
|
case self::DISPLAY_LAYOUT_BLANK:
|
||||||
@ -1553,7 +1554,7 @@ class core extends common {
|
|||||||
break;
|
break;
|
||||||
// Layout poup lity
|
// Layout poup lity
|
||||||
case self::DISPLAY_LAYOUT_POPUP:
|
case self::DISPLAY_LAYOUT_POPUP:
|
||||||
|
require 'core/layout/popup.php';
|
||||||
break;
|
break;
|
||||||
// Layout brut
|
// Layout brut
|
||||||
case self::DISPLAY_RAW:
|
case self::DISPLAY_RAW:
|
||||||
@ -1561,7 +1562,6 @@ class core extends common {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
}?>
|
}?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<?php $layout->showNotification(); ?>
|
||||||
<!-- Corps de page -->
|
<!-- Corps de page -->
|
||||||
<section>
|
<section>
|
||||||
<?php
|
<?php
|
||||||
|
Loading…
x
Reference in New Issue
Block a user