Browse Source

alphabetically sort the language selector

pull/1/head
Friendika 11 years ago
parent
commit
8e3cc8669b
  1. 1
      boot.php

1
boot.php

@ -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,'/'));

Loading…
Cancel
Save