diff options
author | flop25 <flop25@piwigo.org> | 2013-02-06 15:47:00 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2013-02-06 15:47:00 +0000 |
commit | 8f019e2f8de323b491a39c42436d21207459c7be (patch) | |
tree | ad6666230c78f0914b0d8c256df053b6a62148fa /plugins/language_switch/language_switch.inc.php | |
parent | bc60fe50fa506b9ad0314bf89b5abb0bf74f655a (diff) |
bug:2827
adding a sprite for flags. So the flag in language packages is no longuer required, but language_switch.css need to be edited for a language added to Piwigo.
git-svn-id: http://piwigo.org/svn/trunk@20587 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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; |