Bouton édition des langues pour les admin
This commit is contained in:
parent
1d083f5f19
commit
003fedcef5
@ -917,11 +917,13 @@ class layout extends common
|
|||||||
$leftItems .= '<li><select id="barSelectLanguage" >';
|
$leftItems .= '<li><select id="barSelectLanguage" >';
|
||||||
$leftItems .= $leftItem;
|
$leftItems .= $leftItem;
|
||||||
$leftItems .= '</select></li>';
|
$leftItems .= '</select></li>';
|
||||||
|
if ($this->getUser('group') >= self::GROUP_ADMIN) {
|
||||||
$leftItems .= '<li>' . template::ico('flag', [
|
$leftItems .= '<li>' . template::ico('flag', [
|
||||||
'help' => 'Langues',
|
'help' => 'Langues',
|
||||||
'href' => helper::baseUrl() . 'language'
|
'href' => helper::baseUrl() . 'language'
|
||||||
]) . '</li>';
|
]) . '</li>';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Liste des pages
|
// Liste des pages
|
||||||
if ($this->getUser('group') >= self::GROUP_EDITOR) {
|
if ($this->getUser('group') >= self::GROUP_EDITOR) {
|
||||||
|
Loading…
Reference in New Issue
Block a user