add lang string
This commit is contained in:
14
footer.php
14
footer.php
@@ -100,10 +100,20 @@
|
|||||||
|
|
||||||
<div id="footer_menu">
|
<div id="footer_menu">
|
||||||
<?php wp_footer(); ?>
|
<?php wp_footer(); ?>
|
||||||
|
|
||||||
|
<?if (LANG_VERSION == 'en'){
|
||||||
|
$mainmenu = 'topenmenu';
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$mainmenu = 'topmenu';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
<div class="footer_sub">
|
<div class="footer_sub">
|
||||||
<?php wp_nav_menu( array(
|
<?php wp_nav_menu( array(
|
||||||
'menu_class' => 'menu_footer',
|
'menu_class' => 'menu_footer',
|
||||||
'theme_location'=>'top'
|
'menu' => $mainmenu
|
||||||
));?>
|
));?>
|
||||||
</div>
|
</div>
|
||||||
<div id="footer_up">
|
<div id="footer_up">
|
||||||
@@ -114,7 +124,7 @@
|
|||||||
<div id="footer_info">
|
<div id="footer_info">
|
||||||
<div id="footer_qr">
|
<div id="footer_qr">
|
||||||
<img src = "<?=get_stylesheet_directory_uri()?>/pub/qr.png" />
|
<img src = "<?=get_stylesheet_directory_uri()?>/pub/qr.png" />
|
||||||
<p class="vazh">Важно</p>
|
<p class="vazh"><?=vij_lang('qrtitle', LANG_VERSION);?></p>
|
||||||
</div>
|
</div>
|
||||||
<div id="footer-contact">
|
<div id="footer-contact">
|
||||||
<div id="head_tel"><a href="tel:79250634">+7 (495) 925 06 34</a></div>
|
<div id="head_tel"><a href="tel:79250634">+7 (495) 925 06 34</a></div>
|
||||||
|
|||||||
6
lang.php
6
lang.php
@@ -13,7 +13,8 @@ function vij_lang($name, $lan){
|
|||||||
'email_title' => 'Подпишитесь на нашу рассылку и будьте в курсе всех новостей',
|
'email_title' => 'Подпишитесь на нашу рассылку и будьте в курсе всех новостей',
|
||||||
'your_mail' => 'Ваша почта',
|
'your_mail' => 'Ваша почта',
|
||||||
'gazeta' => 'Читать газету<br>«Ветеринария и Жизнь»',
|
'gazeta' => 'Читать газету<br>«Ветеринария и Жизнь»',
|
||||||
'up_bth' => 'наверх'
|
'up_bth' => 'наверх',
|
||||||
|
'qrtitle' => 'Важно'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -28,7 +29,8 @@ function vij_lang($name, $lan){
|
|||||||
'email_title' => 'Sign up to our newsletters to get the latest on your favourite topics from the Veterinary Medicine and Life',
|
'email_title' => 'Sign up to our newsletters to get the latest on your favourite topics from the Veterinary Medicine and Life',
|
||||||
'your_mail' => 'Your email',
|
'your_mail' => 'Your email',
|
||||||
'gazeta' => 'Veterinary Medicine and Life newspaper',
|
'gazeta' => 'Veterinary Medicine and Life newspaper',
|
||||||
'up_bth' => 'UP'
|
'up_bth' => 'UP',
|
||||||
|
'qrtitle' => 'important'
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($lan == 'ru' and isset($lang_ru[$name])){
|
if ($lan == 'ru' and isset($lang_ru[$name])){
|
||||||
|
|||||||
Reference in New Issue
Block a user