From ff971ba2d111315214a44b0bba214471fc42e46a Mon Sep 17 00:00:00 2001 From: JediKev <kevin@enhancesoft.com> Date: Mon, 11 Sep 2017 10:46:42 -0500 Subject: [PATCH] oops: Fix Serbian Flag Icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This addresses issue 3952 where the Serbian language did not have a flag icon. This icon has to be seen in order for the users to change the language. The reason the flag wasn’t shown was due to the incorrect class name for the language link. This updates the class naming section to add the correct part of the language name to the class. --- include/client/header.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/client/header.inc.php b/include/client/header.inc.php index 2e93d012d..9333cf586 100644 --- a/include/client/header.inc.php +++ b/include/client/header.inc.php @@ -115,7 +115,7 @@ if (($all_langs = Internationalization::getConfiguredSystemLanguages()) list($lang, $locale) = explode('_', $code); $qs['lang'] = $code; ?> - <a class="flag flag-<?php echo strtolower($locale ?: $info['flag'] ?: $lang); ?>" + <a class="flag flag-<?php echo strtolower($info['flag'] ?: $locale ?: $lang); ?>" href="?<?php echo http_build_query($qs); ?>" title="<?php echo Internationalization::getLanguageDescription($code); ?>"> </a> <?php } -- GitLab