layout pour les memebres simples uniquement

This commit is contained in:
Fred Tempez 2024-01-08 14:56:36 +01:00
parent 108947ec3c
commit be7073e63f

View File

@ -506,7 +506,7 @@ class layout extends common
}
// Commandes pour les membres simples
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
) {
if (
@ -1036,7 +1036,7 @@ class layout extends common
// ZwiiCampus ------
self::$siteContent !== 'home'
// ZwiiCampus ------
&& $this->getUser('group') >= self::GROUP_EDITOR
&& $this->getUser('group') >= self::GROUP_MEMBER
&& $this->getUser('permission', 'filemanager')
)