getProducer() ; ?> beginPage() ?> <?= Html::encode($producer->nom); ?> • <?= $this->getTitle(); ?> head() ?> beginBody() ?>
false, 'items' => [ [ 'label' => ' Inscription', 'url' => Yii::$app->urlManagerFrontend->createUrl(['site/signup']), 'visible' => Yii::$app->user->isGuest ], [ 'label' => ' Connexion', 'url' => Yii::$app->urlManagerFrontend->createUrl(['site/login','return_url' => Yii::$app->urlManager->createUrl(['producer/index'])]), 'visible' => Yii::$app->user->isGuest ], [ 'label' => ' '.((!Yii::$app->user->isGuest) ? Html::encode(Yii::$app->user->identity->prenom .' '.strtoupper(substr(Yii::$app->user->identity->nom, 0, 1))) : '').'. ', 'options' => ['id' => 'label1'], 'url' => '#', 'items' => [ [ 'label' => 'Profil', 'url' => Url::frontend('user/update'), ], [ 'label' => ' Déconnexion', 'url' => Url::frontend('site/logout'), ] ], 'visible' => !Yii::$app->user->isGuest ], ], 'options' => ['id' =>'nav-bap'], ]); ?>
session->hasFlash('error')): ?> session->hasFlash('success')): ?>
endBody() ?> endPage() ?>