mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
sorting languages alphabeticaly
This commit is contained in:
parent
5ea042041c
commit
c0f4f45767
@ -379,6 +379,7 @@
|
||||
{
|
||||
$select_lang = '<select name="lang">';
|
||||
$langs = $GLOBALS['phpgw']->translation->get_installed_langs();
|
||||
uasort($langs,'strcasecmp');
|
||||
foreach ($langs as $key => $name) // if we have a translation use it
|
||||
{
|
||||
$select_lang .= "\n\t".'<option value="'.$key.'"'.($key == $GLOBALS['phpgw_info']['user']['preferences']['common']['lang'] ? ' selected="1"' : '').'>'.$name.'</option>';
|
||||
|
Loading…
Reference in New Issue
Block a user