mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user