renderFile('@common/views/alert_message.php', [
'display' => $adminSettingBag->get('adminAlertMessageDisplay'),
'type' => $adminSettingBag->get('adminAlertMessageType'),
'title' => $adminSettingBag->get('adminAlertMessageTitle'),
'icon' => $adminSettingBag->get('adminAlertMessageIcon'),
'message' => $adminSettingBag->get('adminAlertMessage'),
]) ?>
isUpToDateWithOpendistribVersion($producer) && $producer->option_display_message_new_opendistrib_version): ?>
'ban', 'danger' => 'ban', 'warning' => 'warning', 'info' => 'info', 'success' => 'check'];
foreach($flashTypeArray as $flashType => $icon) {
if(Yii::$app->session->hasFlash($flashType)) {
echo $this->renderFile('@common/views/alert_message.php', [
'display' => true,
'title' => false,
'type' => $flashType,
'icon' => $icon,
'message' => Yii::$app->session->getFlash($flashType),
]);
}
}
?>
= $content ?>