0.8.3
This commit is contained in:
parent
91772d3d28
commit
a62c8440b0
|
@ -1804,10 +1804,12 @@ class layout extends common {
|
||||||
$items .= '<li>';
|
$items .= '<li>';
|
||||||
// Menu image
|
// Menu image
|
||||||
|
|
||||||
if ($this->getData(['page',$parentPageId,'disable']) === true )
|
if ( $this->getData(['page',$parentPageId,'disable']) === true
|
||||||
{ $items .= '<a href="#">'; }
|
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') )
|
||||||
else
|
|
||||||
{ $items .= '<a href="' . helper::baseUrl() . $parentPageId . '"' . $active . $targetBlank . '>'; }
|
{$items .= '<a href="#">';}
|
||||||
|
else {
|
||||||
|
$items .= '<a href="' . helper::baseUrl() . $parentPageId . '"' . $active . $targetBlank . '>'; }
|
||||||
|
|
||||||
|
|
||||||
switch ($this->getData(['page', $parentPageId, 'typeMenu'])) {
|
switch ($this->getData(['page', $parentPageId, 'typeMenu'])) {
|
||||||
|
@ -1861,10 +1863,12 @@ class layout extends common {
|
||||||
|
|
||||||
// Menu Image
|
// Menu Image
|
||||||
|
|
||||||
if ($this->getData(['page',$childKey,'disable']) === true )
|
if ( $this->getData(['page',$childKey,'disable']) === true
|
||||||
{ $items .= '<a href="#">'; }
|
AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') )
|
||||||
else
|
|
||||||
{ $items .= '<a href="' . helper::baseUrl() . $childKey . '"' . $active . $targetBlank . '>'; }
|
{$items .= '<a href="#">';}
|
||||||
|
else {
|
||||||
|
$items .= '<a href="' . helper::baseUrl() . $childKey . '"' . $active . $targetBlank . '>'; }
|
||||||
|
|
||||||
switch ($this->getData(['page', $childKey, 'typeMenu'])) {
|
switch ($this->getData(['page', $childKey, 'typeMenu'])) {
|
||||||
case '' :
|
case '' :
|
||||||
|
|
Loading…
Reference in New Issue