diff options
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')) |