Commit df6f8b4dd6a7e42c86fa16fcb0f27dc1e10af815

Authored by Alex Savenko
1 parent 8072159c

test commit

Showing 1 changed file with 21 additions and 23 deletions   Show diff stats
frontend/views/layouts/main.php
@@ -3,42 +3,38 @@ @@ -3,42 +3,38 @@
3 /** 3 /**
4 * @var View $this 4 * @var View $this
5 */ 5 */
6 -use common\models\Articles;  
7 -use common\models\Basket; 6 + use common\models\Articles;
  7 + use common\models\Basket;
8 use frontend\assets\AppAsset; 8 use frontend\assets\AppAsset;
9 use yii\helpers\Html; 9 use yii\helpers\Html;
10 use yii\helpers\Url; 10 use yii\helpers\Url;
11 use yii\web\View; 11 use yii\web\View;
12 use yii\widgets\Breadcrumbs; 12 use yii\widgets\Breadcrumbs;
13 -use frontend\widgets\Seo;  
14 -use common\models\Event; 13 + use frontend\widgets\Seo;
  14 + use common\models\Event;
15 15
16 AppAsset::register($this); 16 AppAsset::register($this);
17 ?> 17 ?>
  18 +
18 <?php $this->beginPage() ?> 19 <?php $this->beginPage() ?>
19 <!DOCTYPE html> 20 <!DOCTYPE html>
20 <head> 21 <head>
21 -  
22 <?php $this->head() ?> 22 <?php $this->head() ?>
23 -  
24 - <meta charset="<?= Yii::$app->charset ?>"/>  
25 - <?= Html::csrfMetaTags () ?>  
26 - <title><?= Seo::widget([ 'row'=>'title'])?></title>  
27 - <?= Seo::widget([ 'row'=>'description'])?>  
28 - <?= Seo::widget([ 'row'=>'meta'])?> 23 + <meta charset="<?= Yii::$app->charset ?>"/>
  24 + <?= Html::csrfMetaTags () ?>
  25 + <title><?= Seo::widget([ 'row'=>'title'])?></title>
  26 + <?= Seo::widget([ 'row'=>'description'])?>
  27 + <?= Seo::widget([ 'row'=>'meta'])?>
29 <link rel="icon" type="image/vnd.microsoft.icon" href="/images/icon.ico"/> 28 <link rel="icon" type="image/vnd.microsoft.icon" href="/images/icon.ico"/>
30 <link type="image/ico" href="http://www.linija-svitla.ua/images/icon.ico" rel="SHORTCUT ICON"/> 29 <link type="image/ico" href="http://www.linija-svitla.ua/images/icon.ico" rel="SHORTCUT ICON"/>
31 <link rel="icon" href="http://www.linija-svitla.ua/images/icon.ico" type="image/x-icon"/> 30 <link rel="icon" href="http://www.linija-svitla.ua/images/icon.ico" type="image/x-icon"/>
32 -  
33 31
34 <meta name="google-site-verification" content="m60Ax2153voy05Xdtit_bnBVjuZG-fv0Zu14jLjb4Tk"/> 32 <meta name="google-site-verification" content="m60Ax2153voy05Xdtit_bnBVjuZG-fv0Zu14jLjb4Tk"/>
35 33
36 -  
37 <script language="javascript"> 34 <script language="javascript">
38 var ga_exist = false; 35 var ga_exist = false;
39 </script> 36 </script>
40 -  
41 - 37 +
42 <!--google analitycs--> 38 <!--google analitycs-->
43 <script> 39 <script>
44 (function(i, s, o, g, r, a, m) 40 (function(i, s, o, g, r, a, m)
@@ -58,15 +54,17 @@ use common\models\Event; @@ -58,15 +54,17 @@ use common\models\Event;
58 ga('send', 'pageview'); 54 ga('send', 'pageview');
59 55
60 </script> 56 </script>
61 - <!-- Google Tag Manager -->  
62 - <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':  
63 - new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],  
64 - j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=  
65 - 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);  
66 - })(window,document,'script','dataLayer','GTM-NMXP4K');</script>  
67 - <!-- End Google Tag Manager --> 57 +
  58 + <!-- Google Tag Manager -->
  59 + <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  60 + new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  61 + j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  62 + 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  63 + })(window,document,'script','dataLayer','GTM-NMXP4K');</script>
  64 + <!-- End Google Tag Manager -->
68 </head> 65 </head>
69 -<?php $this->beginBody() ?> 66 +
  67 + <?php $this->beginBody() ?>
70 <body> 68 <body>
71 <!-- Google Tag Manager (noscript) --> 69 <!-- Google Tag Manager (noscript) -->
72 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NMXP4K" 70 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NMXP4K"