diff options
author | Manuel Hiebel <leuhmanu@mageia.org> | 2017-07-05 10:02:48 +0200 |
---|---|---|
committer | Manuel Hiebel <leuhmanu@mageia.org> | 2017-07-05 10:02:48 +0200 |
commit | 29731943ca2d537e35e6fea00fe5d96bf223c345 (patch) | |
tree | 44d17d60b3cdc7d1c5e720e53bea8dac3ff3272b /langs.php | |
parent | a5fa26a9aa722272e293eb5f0d750f76da1bdf42 (diff) | |
download | www-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.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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')) |