layout pour les memebres simples uniquement
This commit is contained in:
parent
108947ec3c
commit
be7073e63f
@ -506,7 +506,7 @@ class layout extends common
|
|||||||
}
|
}
|
||||||
// Commandes pour les membres simples
|
// Commandes pour les membres simples
|
||||||
if (
|
if (
|
||||||
$this->getUser('group') >= self::GROUP_MEMBER && $this->getUser('group') < self::GROUP_ADMIN
|
$this->getUser('group') === self::GROUP_MEMBER
|
||||||
&& $this->getData(['theme', 'menu', 'memberBar']) === true
|
&& $this->getData(['theme', 'menu', 'memberBar']) === true
|
||||||
) {
|
) {
|
||||||
if (
|
if (
|
||||||
@ -1036,7 +1036,7 @@ class layout extends common
|
|||||||
// ZwiiCampus ------
|
// ZwiiCampus ------
|
||||||
self::$siteContent !== 'home'
|
self::$siteContent !== 'home'
|
||||||
// ZwiiCampus ------
|
// ZwiiCampus ------
|
||||||
&& $this->getUser('group') >= self::GROUP_EDITOR
|
&& $this->getUser('group') >= self::GROUP_MEMBER
|
||||||
&& $this->getUser('permission', 'filemanager')
|
&& $this->getUser('permission', 'filemanager')
|
||||||
|
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user