forked from ZwiiCMS-Team/ZwiiCampus
Le thème est réservé aux admins
This commit is contained in:
parent
0f715baf93
commit
702bcf173d
@ -911,6 +911,8 @@ class layout extends common
|
|||||||
'href' => helper::baseUrl() . 'course',
|
'href' => helper::baseUrl() . 'course',
|
||||||
'help' => 'Contenu'
|
'help' => 'Contenu'
|
||||||
]) . '</li>';
|
]) . '</li>';
|
||||||
|
}
|
||||||
|
if ($this->getUser('group') >= self::GROUP_ADMIN) {
|
||||||
$leftItems .= '<li>' . template::ico('brush', [
|
$leftItems .= '<li>' . template::ico('brush', [
|
||||||
'help' => 'Thème',
|
'help' => 'Thème',
|
||||||
'href' => helper::baseUrl() . 'theme'
|
'href' => helper::baseUrl() . 'theme'
|
||||||
|
@ -22,10 +22,10 @@ class theme extends common
|
|||||||
'body' => self::GROUP_ADMIN,
|
'body' => self::GROUP_ADMIN,
|
||||||
'footer' => self::GROUP_ADMIN,
|
'footer' => self::GROUP_ADMIN,
|
||||||
'header' => self::GROUP_ADMIN,
|
'header' => self::GROUP_ADMIN,
|
||||||
'index' => self::GROUP_EDITOR,
|
'index' => self::GROUP_ADMIN,
|
||||||
'menu' => self::GROUP_ADMIN,
|
'menu' => self::GROUP_ADMIN,
|
||||||
'reset' => self::GROUP_ADMIN,
|
'reset' => self::GROUP_ADMIN,
|
||||||
'site' => self::GROUP_EDITOR,
|
'site' => self::GROUP_ADMIN,
|
||||||
'admin' => self::GROUP_ADMIN,
|
'admin' => self::GROUP_ADMIN,
|
||||||
'manage' => self::GROUP_ADMIN,
|
'manage' => self::GROUP_ADMIN,
|
||||||
'export' => self::GROUP_ADMIN,
|
'export' => self::GROUP_ADMIN,
|
||||||
|
Loading…
Reference in New Issue
Block a user