From 8e3cc8669bbae9e55e7147c811a98228ab947799 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 5 Jun 2011 20:45:46 -0700 Subject: alphabetically sort the language selector --- boot.php | 1 + 1 file changed, 1 insertion(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index a67b96a08..3c8208339 100644 --- a/boot.php +++ b/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,'/')); -- cgit v1.2.3