forked from ZwiiCMS-Team/ZwiiCMS
v8.4.9 : adresse page inactive
This commit is contained in:
parent
07870cf7a1
commit
04e0857cc4
10
CHANGES.MD
10
CHANGES.MD
@ -1,7 +1,15 @@
|
|||||||
# ChangeLog
|
# ChangeLog
|
||||||
|
|
||||||
|
## Version 8.4.9
|
||||||
|
* Correction :
|
||||||
|
- Adresse d'une page inactive
|
||||||
|
|
||||||
|
## version 8.4.8
|
||||||
|
* Correction :
|
||||||
|
- Fautes de frappe
|
||||||
|
|
||||||
## Version 8.4.7
|
## Version 8.4.7
|
||||||
* corrections :
|
* correction :
|
||||||
- Chaine de mise à jour des variables internes
|
- Chaine de mise à jour des variables internes
|
||||||
|
|
||||||
## Version 8.4.6
|
## Version 8.4.6
|
||||||
|
@ -24,7 +24,7 @@ class common {
|
|||||||
const GROUP_MEMBER = 1;
|
const GROUP_MEMBER = 1;
|
||||||
const GROUP_MODERATOR = 2;
|
const GROUP_MODERATOR = 2;
|
||||||
const GROUP_ADMIN = 3;
|
const GROUP_ADMIN = 3;
|
||||||
const ZWII_VERSION = '8.4.8';
|
const ZWII_VERSION = '8.4.9';
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
public static $coreModuleIds = [
|
public static $coreModuleIds = [
|
||||||
@ -1886,7 +1886,7 @@ class layout extends common {
|
|||||||
if ( $this->getData(['page',$parentPageId,'disable']) === true
|
if ( $this->getData(['page',$parentPageId,'disable']) === true
|
||||||
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') )
|
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') )
|
||||||
|
|
||||||
{$items .= '<a href="#">';}
|
{$items .= '<a href="'.$this->getUrl(1).'">';}
|
||||||
else {
|
else {
|
||||||
$items .= '<a href="' . helper::baseUrl() . $parentPageId . '" title="'.$this->getData(['page', $parentPageId, 'title']).'" ' . $active . $targetBlank . '>'; }
|
$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
|
if ( $this->getData(['page',$childKey,'disable']) === true
|
||||||
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') )
|
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') )
|
||||||
|
|
||||||
{$items .= '<a href="#">';}
|
{$items .= '<a href="'.$this->getUrl(1).'">';}
|
||||||
else {
|
else {
|
||||||
$items .= '<a href="' . helper::baseUrl() . $childKey . '"' . $active . $targetBlank . '>'; }
|
$items .= '<a href="' . helper::baseUrl() . $childKey . '"' . $active . $targetBlank . '>'; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user