aboutsummaryrefslogtreecommitdiffstats
path: root/langs.php
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2017-07-05 10:02:48 +0200
committerManuel Hiebel <leuhmanu@mageia.org>2017-07-05 10:02:48 +0200
commit29731943ca2d537e35e6fea00fe5d96bf223c345 (patch)
tree44d17d60b3cdc7d1c5e720e53bea8dac3ff3272b /langs.php
parenta5fa26a9aa722272e293eb5f0d750f76da1bdf42 (diff)
downloadwww-29731943ca2d537e35e6fea00fe5d96bf223c345.tar
www-29731943ca2d537e35e6fea00fe5d96bf223c345.tar.gz
www-29731943ca2d537e35e6fea00fe5d96bf223c345.tar.bz2
www-29731943ca2d537e35e6fea00fe5d96bf223c345.tar.xz
www-29731943ca2d537e35e6fea00fe5d96bf223c345.zip
use comprehensive var name
Diffstat (limited to 'langs.php')
-rw-r--r--langs.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/langs.php b/langs.php
index 37cbf8944..0cd37fed7 100644
--- a/langs.php
+++ b/langs.php
@@ -68,15 +68,15 @@ foreach ($langs as $k => $v) {
$k,
$k == $locale ? ' selected="selected"' : '',
$v);
- $k == $locale ? $fulllang = $v: '';
+ $k == $locale ? $fullCurrentLang = $v: '';
}
$options = implode($options);
$langsForm = <<<H
-</ul><ul class="navbar-nav"><li class="nav-item"><a class="nav-link globe-icon" href="#langsModal" data-toggle="modal" data-target="#langsModal">{$fulllang}</a></li>
+</ul><ul class="navbar-nav"><li class="nav-item"><a class="nav-link globe-icon" href="#langsModal" data-toggle="modal" data-target="#langsModal">{$fullCurrentLang}</a></li>
H;
-$langsmodal = <<<H
+$langsModal = <<<H
<div class="modal fade" id="langsModal">
<div class="modal-dialog">
<div class="modal-content">
@@ -98,7 +98,7 @@ $langsmodal = <<<H
H;
// _mgnav_style() no more needed
-$hsnav = _mgnav_html(true, $locale, $langsForm, $_SERVER['HTTP_HOST']). $langsmodal;
+$hsnav = _mgnav_html(true, $locale, $langsForm, $_SERVER['HTTP_HOST']). $langsModal;
$hsfoot = '';
if (!defined('HLANG'))