|
|
@@ -110,14 +110,14 @@ if ($userManager->isCurrentProducer()) { |
|
|
|
]; |
|
|
|
$itemConnexion = [ |
|
|
|
'label' => '<span class="glyphicon glyphicon-log-in"></span> Connexion', |
|
|
|
'url' => $this->getUrlManagerFrontend()->createUrl(['site/login']), |
|
|
|
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/login']), |
|
|
|
'linkOptions' => ['class' => 'btn btn-default navbar-btn'], |
|
|
|
'visible' => \Yii::$app->user->isGuest, |
|
|
|
'active' => $this->getControllerAction() == 'site/login' |
|
|
|
]; |
|
|
|
$itemSignup = [ |
|
|
|
'label' => '<span class="glyphicon glyphicon-user"></span> Inscription', |
|
|
|
'url' => $this->getUrlManagerFrontend()->createUrl(['site/signup']), |
|
|
|
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/signup']), |
|
|
|
'linkOptions' => ['class' => 'btn btn-default navbar-btn'], |
|
|
|
'visible' => \Yii::$app->user->isGuest, |
|
|
|
'active' => $this->getControllerAction() == 'site/signup' |