From f93ce1fd7fca1a7229a9c9da4f1f4a3f98823524 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 8 Feb 2014 17:11:17 -0500 Subject: Minors improvements --- models/config.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'models/config.php') diff --git a/models/config.php b/models/config.php index d854047d..4d39af87 100644 --- a/models/config.php +++ b/models/config.php @@ -11,10 +11,14 @@ class Config extends Base public function getLanguages() { - return array( + $languages = array( 'en_US' => t('English'), 'fr_FR' => t('French'), ); + + asort($languages); + + return $languages; } public function get($name, $default_value = '') -- cgit v1.2.3