From c21d27aa1e53eac18bca58c1b6677ca64e8ae19f Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Mon, 28 Jul 2014 12:27:17 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BA=D0=B0=D0=B7=20=D0=BC=D0=B5?= =?UTF-8?q?=D1=82=D1=80=D0=B8=D0=BA=D0=B8=20=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE?= =?UTF-8?q?=20=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B0=D1=82=D1=8C=20?= =?UTF-8?q?=D0=B2=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ground/config_template.php | 1 + ground/views/layout.php | 107 ++++++++++++++++++++----------------- 2 files changed, 58 insertions(+), 50 deletions(-) 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 = ''; + + + +

WikiPoints

- - - - - - - + if (w.opera == "[object Opera]") { + d.addEventListener("DOMContentLoaded", f, false); + } else { + f(); + } + })(document, window, "yandex_metrika_callbacks"); + + + + \ No newline at end of file