From: Friendika Date: Mon, 6 Jun 2011 03:45:46 +0000 (-0700) Subject: alphabetically sort the language selector X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8e3cc8669bbae9e55e7147c811a98228ab947799;p=friendica.git alphabetically sort the language selector --- diff --git a/boot.php b/boot.php index a67b96a085..3c82083395 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,'/'));