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