v8.4.9 : adresse page inactive

This commit is contained in:
fredtempez 2018-11-23 11:01:40 +01:00
parent 07870cf7a1
commit 04e0857cc4
2 changed files with 12 additions and 4 deletions

View File

@ -1,7 +1,15 @@
# ChangeLog
## Version 8.4.9
* Correction :
- Adresse d'une page inactive
## version 8.4.8
* Correction :
- Fautes de frappe
## Version 8.4.7
* corrections :
* correction :
- Chaine de mise à jour des variables internes
## Version 8.4.6

View File

@ -24,7 +24,7 @@ class common {
const GROUP_MEMBER = 1;
const GROUP_MODERATOR = 2;
const GROUP_ADMIN = 3;
const ZWII_VERSION = '8.4.8';
const ZWII_VERSION = '8.4.9';
public static $actions = [];
public static $coreModuleIds = [
@ -1886,7 +1886,7 @@ class layout extends common {
if ( $this->getData(['page',$parentPageId,'disable']) === true
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') )
{$items .= '<a href="#">';}
{$items .= '<a href="'.$this->getUrl(1).'">';}
else {
$items .= '<a href="' . helper::baseUrl() . $parentPageId . '" title="'.$this->getData(['page', $parentPageId, 'title']).'" ' . $active . $targetBlank . '>'; }
@ -1945,7 +1945,7 @@ class layout extends common {
if ( $this->getData(['page',$childKey,'disable']) === true
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') )
{$items .= '<a href="#">';}
{$items .= '<a href="'.$this->getUrl(1).'">';}
else {
$items .= '<a href="' . helper::baseUrl() . $childKey . '"' . $active . $targetBlank . '>'; }