forked from ZwiiCMS-Team/ZwiiCMS
Sticky menu
This commit is contained in:
parent
5750945b51
commit
b2ba00c297
@ -23,11 +23,14 @@
|
||||
<nav
|
||||
<?php
|
||||
// Détermine si le menu est fixe en haut de page lorsque l'utilisateur n'est pas connecté
|
||||
//
|
||||
if($this->getData(['theme', 'menu', 'position']) === 'top' &&
|
||||
$this->getData(['theme', 'menu', 'fixed']) === true &&
|
||||
$this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD'))
|
||||
|
||||
{echo 'id="navfixed"';} ?>
|
||||
$this->getData(['theme', 'menu', 'fixed']) === true) {
|
||||
if ($this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD'))
|
||||
{echo 'id="navfixedlogout"';}
|
||||
else
|
||||
{echo 'id="navfixedconnected"';}
|
||||
} ?>
|
||||
>
|
||||
<div id="toggle"><?php echo template::ico('menu'); ?></div>
|
||||
<div id="menu" class="
|
||||
|
Loading…
Reference in New Issue
Block a user