|
|
@@ -83,18 +83,18 @@ if ($userManager->isCurrentProducer()) { |
|
|
|
$itemsUserArray = [ |
|
|
|
[ |
|
|
|
'label' => '<span class="glyphicon glyphicon-chevron-left"></span> Retour à l\'accueil', |
|
|
|
'url' => $this->getUrlManagerFrontend()->createUrl(['site/index']), |
|
|
|
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/index']), |
|
|
|
] |
|
|
|
]; |
|
|
|
} |
|
|
|
|
|
|
|
$itemsUserArray[] = [ |
|
|
|
'label' => '<span class="glyphicon glyphicon-user"></span> Mon profil', |
|
|
|
'url' => $this->getUrlManagerFrontend()->createUrl(['user/update']), |
|
|
|
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['user/update']), |
|
|
|
]; |
|
|
|
$itemsUserArray[] = [ |
|
|
|
'label' => '<span class="glyphicon glyphicon-off"></span> Déconnexion', |
|
|
|
'url' => $this->getUrlManagerFrontend()->createUrl(['site/logout']), |
|
|
|
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/logout']), |
|
|
|
]; |
|
|
|
|
|
|
|
$itemUser = [ |