diff options
Diffstat (limited to 'plugins/language_switch/language_switch.inc.php')
-rw-r--r-- | plugins/language_switch/language_switch.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/language_switch/language_switch.inc.php b/plugins/language_switch/language_switch.inc.php index 30c846b75..63a3cca7e 100644 --- a/plugins/language_switch/language_switch.inc.php +++ b/plugins/language_switch/language_switch.inc.php @@ -109,12 +109,11 @@ function language_controler_flags() foreach ($available_lang as $code => $displayname) { - $qlc = array ( 'url' => add_url_params($base_url, array('lang'=> $code)), 'alt' => ucwords($displayname), 'title' => substr($displayname, 0, -4), // remove [FR] or [RU] - 'img' => get_root_url().'language/'.$code.'/'.$code.'.jpg', + 'code' => $code, ); $lsw['flags'][$code] = $qlc; |