forked from ZwiiCMS-Team/ZwiiCampus
1.4.23 Groupe éditor ne peut modifier l'accueil
This commit is contained in:
parent
9bea40ed08
commit
48725b8703
@ -940,8 +940,10 @@ class layout extends common
|
||||
'href' => helper::baseUrl() . 'theme'
|
||||
]) . '</li>';
|
||||
}
|
||||
// Liste des pages
|
||||
if ($this->getUser('group') >= self::GROUP_EDITOR) {
|
||||
// Liste des pages et bouton de gestion interdit pour l'accueil sauf admin
|
||||
if (($this->getUser('group') === self::GROUP_EDITOR && self::$siteContent != 'home')
|
||||
|| $this->getUser('group') === self::GROUP_ADMIN
|
||||
) {
|
||||
$leftItems .= '<li><select id="barSelectPage">';
|
||||
$leftItems .= '<option value="">' . helper::translate('Pages du site') . '</option>';
|
||||
$leftItems .= '<optgroup label="' . helper::translate('Pages orphelines') . '">';
|
||||
|
Loading…
Reference in New Issue
Block a user