controller->id == 'site' && \Yii::$app->controller->action->id == 'index'); $producer = null; if ($userManager->isCurrentProducer()) { $producer = Producer::searchOne(['id' => \Yii::$app->user->identity->id_producer]); } ?> beginPage() ?> <?php if ($isHome): ?>Opendistrib | <?= Html::encode($this->title) ?><?php else: ?><?= Html::encode($this->title) ?> | Opendistrib<?php endif; ?> head() ?> render('@common/views/matomo.php') ?> beginBody() ?>
render('@common/views/nav_user_top', [ 'context' => 'frontend' ]); ?>
session->hasFlash('error')): ?> session->hasFlash('success')): ?>
endBody() ?> endPage() ?>