diff --git a/ground/config_template.php b/ground/config_template.php
index 856abe3..6fe890a 100644
--- a/ground/config_template.php
+++ b/ground/config_template.php
@@ -9,5 +9,6 @@ return array(
'dbname' => 'poi',
),
//'version' => trim(file_get_contents(dirname(__FILE__).'/version')),
+ 'metrika' => true,
);
diff --git a/ground/views/layout.php b/ground/views/layout.php
index 94ee4fc..d6822bf 100644
--- a/ground/views/layout.php
+++ b/ground/views/layout.php
@@ -7,67 +7,74 @@
= App::getConfig('title') ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+ $var): ?>
+ var = $varName ?> = '= $var ?>';
+
+
+
+
- = isset($content) && !empty($content) ? $content : 'No content =(' ?>
- = self::renderPartial('modals/about.php', array(), true) ?>
- = self::renderPartial('modals/howToUse.php', array(), true) ?>
-
-
-
-
+ if (w.opera == "[object Opera]") {
+ d.addEventListener("DOMContentLoaded", f, false);
+ } else {
+ f();
+ }
+ })(document, window, "yandex_metrika_callbacks");
+
+
+
+