Commit 28ccb9baab1e1be955bfb01a45e6057353fd9770
1 parent
e8923005
29.06.16
Showing
2 changed files
with
6 additions
and
9 deletions
Show diff stats
frontend/views/layouts/main.php
@@ -180,12 +180,9 @@ $this->registerJsFile (Yii::$app->request->baseUrl . '/js/fix_height.js', ['posi | @@ -180,12 +180,9 @@ $this->registerJsFile (Yii::$app->request->baseUrl . '/js/fix_height.js', ['posi | ||
180 | <div class="header"> | 180 | <div class="header"> |
181 | <div class="phone"> | 181 | <div class="phone"> |
182 | <div class="tel"> | 182 | <div class="tel"> |
183 | - (044) 303 90 15 <!--span class="more"></span--> | ||
184 | - <div class="more_block"> | ||
185 | - (044) 303-90-10<br/> | ||
186 | - (044) 428-65-38<br/> | ||
187 | - (050) 382-03-00 | ||
188 | - </div> | 183 | + (093) 911 05 03<br/> |
184 | + (095) 004 56 55<br/> | ||
185 | + (068) 083 62 01 | ||
189 | </div> | 186 | </div> |
190 | <!-- <a href="#" id='call'>Обратный звонок</a>--> | 187 | <!-- <a href="#" id='call'>Обратный звонок</a>--> |
191 | </div> | 188 | </div> |
frontend/widgets/Seo.php
@@ -197,13 +197,13 @@ class Seo extends Widget | @@ -197,13 +197,13 @@ class Seo extends Widget | ||
197 | $sort = \Yii::$app->request->get('sort', []); | 197 | $sort = \Yii::$app->request->get('sort', []); |
198 | $paginate = \Yii::$app->request->get('page', []); | 198 | $paginate = \Yii::$app->request->get('page', []); |
199 | 199 | ||
200 | - $array = ['%21','%22','%23','%24','%25','%26','%27','%28','%29','%2A','%2B','%2C','%2D','%2E','%2F','%3A','%3B','%3C','%3D','%3E','%3F','%40','%5B','%5C','%5D','%5E','%5F','%60','%7B','%7C','%7D','%7E',]; | ||
201 | - $url = \Yii::$app->request->url; | 200 | + $array = ['%21','%22','%23','%24','%25','%26','%27','%28','%29','%2a','%2b','%2c','%2d','%2e','%2f','%3a','%3b','%3c','%3d','%3e','%3f','%40','%5b','%5c','%5d','%5e','%5f','%60','%7b','%7c','%7d','%7e',]; |
201 | + $url = mb_strtolower (\Yii::$app->request->url); | ||
202 | 202 | ||
203 | $continue = true; | 203 | $continue = true; |
204 | 204 | ||
205 | foreach($array as $sym){ | 205 | foreach($array as $sym){ |
206 | - if(strpos(mb_strtolower ($url), mb_strtolower ($sym))){ | 206 | + if(strpos($url, $sym)){ |
207 | $this->getView()->registerMetaTag([ | 207 | $this->getView()->registerMetaTag([ |
208 | 'name' => 'robots', | 208 | 'name' => 'robots', |
209 | 'content' => 'noindex,nofollow' | 209 | 'content' => 'noindex,nofollow' |