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 // 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')
) )