From cb2b02115e6f1ce80eb0261f9a7b80bfb3a6ed85 Mon Sep 17 00:00:00 2001 From: dozer111 Date: Thu, 11 Oct 2018 11:02:08 +0300 Subject: [PATCH] only ru block --- frontend/views/site/index.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/views/site/index.php b/frontend/views/site/index.php index bc08092..2f8c3b4 100755 --- a/frontend/views/site/index.php +++ b/frontend/views/site/index.php @@ -14,7 +14,8 @@ MapAsset::register($this); $settings = Settings::getInstance(); $this->title = 'KB Energy'; - + $currentLang = \artbox\core\models\Language::getCurrent(); + $coordinates = []; $coordinates['lat'] = empty($settings->lat) ? 0 : $settings->lat; $coordinates['lon'] = empty($settings->lon) ? 0 : $settings->lon; @@ -476,7 +477,7 @@ JS; - +url == 'ru'){ ?>
@@ -497,6 +498,7 @@ JS;
+
-- libgit2 0.21.4