getUserMessageModule(); $producerUser = null; if ($userModule->getAuthorizationChecker()->isGrantedAsProducer($userCurrent)) { $producerUser = $producerModule->findOneProducerById($userCurrent->id_producer); } $producer = $this->context->getProducerCurrent(); if (!Yii::$app->user->isGuest) { $userProducer = UserProducer::findOne(['id_user' => GlobalParam::getCurrentUserId(), 'id_producer' => $producer->id]); } $mainColor = $producer->option_main_color ?: '#ee6f42' ; ?> beginPage() ?> <?php if($this->getControllerAction() == 'site/index'): ?> <?= Html::encode($producer->name); ?> | <?= $this->getPageTitle(); ?> <?php else: ?> <?= $this->getPageTitle(); ?> | <?= Html::encode($producer->name); ?> <?php endif; ?> head() ?> render('@common/views/matomo.php') ?> beginBody() ?> render('@common/views/nav_user_top', [ 'context' => 'producer' ]); ?>
logo) && Image::isPhotoExist($producer->logo); ?>
getRepository()->findUserMessagesUnreadByUser($userCurrent); if($userMessagesArray && count($userMessagesArray)): foreach($userMessagesArray as $userMessage): ?>

Nouveau message

getMessage())) ?>

Répondre Fermer

getSolver()->getConfig('option_leave_period_message_display', $producer); $leavePeriodMessageTitle = $producerModule->getSolver()->getConfig('option_leave_period_message_title', $producer); $leavePeriodMessage = $producerModule->getSolver()->getConfig('option_leave_period_message', $producer); if($leavePeriodMessageDisplay && ($leavePeriodMessageTitle || $leavePeriodMessage)): ?>

getTitle())): ?>

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

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