Commit bfb4edc17faa164f67cb12151a696ebfa2bbed0a
1 parent
95b82814
seo2
Showing
1 changed file
with
4 additions
and
3 deletions
Show diff stats
frontend/views/layouts/main.php
... | ... | @@ -86,8 +86,9 @@ _________________________________________________________ --> |
86 | 86 | <p class="hidden-sm hidden-xs"> |
87 | 87 | <?php |
88 | 88 | if (!empty($settings->phone)) { |
89 | + $phone = str_replace(' ', '', $settings->phone); | |
89 | 90 | echo \Yii::t('app', 'Свяжитесь с нами '); |
90 | - echo Html::a($settings->phone, "tel: {$settings->phone}"); | |
91 | + echo Html::a($settings->phone, "tel:{$phone}"); | |
91 | 92 | if (!empty($settings->email)) { |
92 | 93 | echo \Yii::t('app', ' или '); |
93 | 94 | echo Html::a($settings->email, "mailto:$settings->email"); |
... | ... | @@ -334,7 +335,7 @@ _________________________________________________________ --> |
334 | 335 | |
335 | 336 | <div class="modal-content"> |
336 | 337 | <div class="modal-header"> |
337 | - <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | |
338 | + <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | |
338 | 339 | <h3 class="modal-title" id="Login">Обратная связь</h3> |
339 | 340 | </div> |
340 | 341 | <div class="modal-body"> |
... | ... | @@ -399,7 +400,7 @@ _________________________________________________________ --> |
399 | 400 | |
400 | 401 | <div class="modal-content"> |
401 | 402 | <div class="modal-header"> |
402 | - <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | |
403 | + <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | |
403 | 404 | <h3 class="modal-title" id="Success">Success</h3> |
404 | 405 | </div> |
405 | 406 | <div class="modal-body"> | ... | ... |