<?php /* @var $this yii\web\View * @var $hello string */ use common\widgets\GoogleMapsMarkers\GoogleMaps; //use common\widgets\CurrencyConverter\CurrencyConverter; if (Yii::$app->user->can('Редактор')) { Yii::$app->assetManager->forceCopy = true; } ?> <div class="container"> <?php if (!Yii::$app->user->isGuest) { echo '<br>' . Yii::$app->formatter->asDatetime(Yii::$app->user->identity['created_at']); echo '<br>' . Yii::$app->timezone->name; //Yii::$app->session->remove('timezone'); } ?> </div> <div class="container"> <?php echo GoogleMaps::widget(['googleMapsUrlOptions' => ['language' => Yii::$app->language, 'version' => '3.1.18'], 'googleMapsOptions' => ['mapTypeId' => 'roadmap', 'zoom' => 1]]); ?> </div>