context->getProducer() ; if(!Yii::$app->user->isGuest) { $userProducer = UserProducer::findOne(['id_user' => User::getCurrentId(), 'id_producer' => $producer->id ]) ; } ?> beginPage() ?> <?= Html::encode($producer->name); ?> | <?= $this->getPageTitle(); ?> head() ?> beginBody() ?>
false, 'items' => [ [ 'label' => '', 'options' => ['id' => 'label1'], 'url' => '#', 'items' => [ [ 'label' => ' Inscription', 'url' => Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/signup']), 'visible' => Yii::$app->user->isGuest ], [ 'label' => ' Connexion', 'url' => Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/login','return_url' => Yii::$app->urlManager->createAbsoluteUrl(['site/index'])]), 'visible' => Yii::$app->user->isGuest ], ], 'visible' => Yii::$app->user->isGuest ], [ 'label' => '', 'options' => ['id' => 'label1'], 'url' => '#', 'items' => [ [ 'label' => ' Profil', 'url' => Yii::$app->urlManagerFrontend->createAbsoluteUrl(['user/update']), ], [ 'label' => ' Déconnexion
'.(!Yii::$app->user->isGuest ? Html::encode(Yii::$app->user->identity->name .' '.strtoupper(substr(Yii::$app->user->identity->lastname, 0, 1))) : '').'.', 'url' => Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/logout']), ] ], 'visible' => !Yii::$app->user->isGuest ], ], 'options' => ['id' =>'nav-bap'], ]); ?>
getTitle())): ?>

getTitle(); ?> buttons)): ?> buttons as $button) { echo ''.$button['label'].'' ; } ?>

session->hasFlash('error')): ?> session->hasFlash('success')): ?>
mentions) || strlen($producer->gcs)): ?>
endBody() ?> endPage() ?>