1
1
Fork 0

alphabetically sort the language selector

This commit is contained in:
Friendika 2011-06-05 20:45:46 -07:00
parent edbad772ba
commit 8e3cc8669b

View file

@ -2773,6 +2773,7 @@ function lang_selector() {
if(is_array($langs) && count($langs)) {
if(! in_array('view/en/strings.php',$langs))
$langs[] = 'view/en/';
asort($langs);
foreach($langs as $l) {
$ll = substr($l,5);
$ll = substr($ll,0,strrpos($ll,'/'));