forked from ZwiiCMS-Team/ZwiiCampus
Masque les icônes de gestion dans le cours
This commit is contained in:
parent
6463037734
commit
c9d510e03f
@ -1046,7 +1046,10 @@ class layout extends common
|
|||||||
'attr' => 'data-lity'
|
'attr' => 'data-lity'
|
||||||
]) . '</li>';
|
]) . '</li>';
|
||||||
}
|
}
|
||||||
if ($this->getUser('group') >= self::GROUP_ADMIN) {
|
if (
|
||||||
|
self::$siteContent === 'home'
|
||||||
|
&& $this->getUser('group') >= self::GROUP_ADMIN
|
||||||
|
) {
|
||||||
$rightItems .= '<li>' . template::ico('puzzle', [
|
$rightItems .= '<li>' . template::ico('puzzle', [
|
||||||
'help' => 'Modules',
|
'help' => 'Modules',
|
||||||
'href' => helper::baseUrl() . 'plugin'
|
'href' => helper::baseUrl() . 'plugin'
|
||||||
|
Loading…
Reference in New Issue
Block a user