Bouton édition des langues pour les admin

This commit is contained in:
Fred Tempez 2023-09-14 21:14:43 +02:00
parent 1d083f5f19
commit 003fedcef5

View File

@ -917,10 +917,12 @@ class layout extends common
$leftItems .= '<li><select id="barSelectLanguage" >';
$leftItems .= $leftItem;
$leftItems .= '</select></li>';
$leftItems .= '<li>' . template::ico('flag', [
'help' => 'Langues',
'href' => helper::baseUrl() . 'language'
]) . '</li>';
if ($this->getUser('group') >= self::GROUP_ADMIN) {
$leftItems .= '<li>' . template::ico('flag', [
'help' => 'Langues',
'href' => helper::baseUrl() . 'language'
]) . '</li>';
}
}
// Liste des pages