diff options
author | Friendika <info@friendika.com> | 2011-06-05 20:45:46 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-05 20:45:46 -0700 |
commit | 8e3cc8669bbae9e55e7147c811a98228ab947799 (patch) | |
tree | ddf9896a58a65dc003cdccb572ad8fbd2c97b840 /boot.php | |
parent | edbad772bacb25e23f4a8e26379e26b13e5765cd (diff) | |
download | volse-hubzilla-8e3cc8669bbae9e55e7147c811a98228ab947799.tar.gz volse-hubzilla-8e3cc8669bbae9e55e7147c811a98228ab947799.tar.bz2 volse-hubzilla-8e3cc8669bbae9e55e7147c811a98228ab947799.zip |
alphabetically sort the language selector
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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,'/')); |