Commit e50369b0b3782b6706acecf87e9ea94bc4ac0ca4
1 parent
5d21f612
h titles
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
frontend/views/layouts/main.php
... | ... | @@ -691,8 +691,9 @@ |
691 | 691 | <div class="h4"><?php echo \Yii::t('app', 'Contact'); ?></div> |
692 | 692 | |
693 | 693 | <p> |
694 | + <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> | |
694 | 695 | <table border="0" class="address_footer_table"> |
695 | - <tr><td><b><i class="fa fa-map-marker" aria-hidden="true"></i></b></td><td>02095, <?=\Yii::t('app', $settings->country)?>, <?=\Yii::t('app', 'city_short')?>. <?=\Yii::t('app', $settings->city)?> <br/><?=\Yii::t('app', $settings->street)?>, <?=\Yii::t('app', $settings->house)?>, <?=\Yii::t('app', 'office')?> <?=\Yii::t('app', $settings->office)?></td></tr> | |
696 | + <tr><td><b><i class="fa fa-map-marker" aria-hidden="true"></i></b></td><td><span itemprop="postalCode">02095</span>, <?=\Yii::t('app', $settings->country)?>, <?=\Yii::t('app', 'city_short')?>. <span itemprop="addressLocality"><?=\Yii::t('app', $settings->city)?></span> <br/><?=\Yii::t('app', $settings->street)?>, <?=\Yii::t('app', $settings->house)?>, <?=\Yii::t('app', 'office')?> <?=\Yii::t('app', $settings->office)?></td></tr> | |
696 | 697 | <?php |
697 | 698 | if(!empty($settings->phone)){ |
698 | 699 | echo '<tr><td><b><i class="fa fa-phone" aria-hidden="true"></i></b></td><td><a href="tel:'.$settings->phone.'"><span itemprop="telephone">'.$settings->phone.'</span></a>'; |
... | ... | @@ -706,6 +707,7 @@ |
706 | 707 | ?> |
707 | 708 | <tr><td><b><i class="fa fa-envelope" aria-hidden="true"></i></b></td><td><span itemprop="email"><a href="mailto:<?=$settings->email?>"><?=$settings->email?></a></span></td></tr> |
708 | 709 | </table> |
710 | + </div> | |
709 | 711 | </p> |
710 | 712 | <!-- --><?php |
711 | 713 | // if (!empty($settings->office)) { | ... | ... |