diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-26 18:42:00 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-26 18:42:00 +0000 |
commit | 2d560e5f9e95f7fd71e1490cd13a0ae947d81c9b (patch) | |
tree | b60c89a613c8457c81416877bdec2b8fd1a1676f /views/default/user/settings | |
parent | 2e42219f0ee4bc07f8f3c262242e06ad4f92023e (diff) | |
download | elgg-2d560e5f9e95f7fd71e1490cd13a0ae947d81c9b.tar.gz elgg-2d560e5f9e95f7fd71e1490cd13a0ae947d81c9b.tar.bz2 |
Closes #98
git-svn-id: https://code.elgg.org/elgg/trunk@1157 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/user/settings')
-rw-r--r-- | views/default/user/settings/language.php | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/views/default/user/settings/language.php b/views/default/user/settings/language.php index dcc20e8ef..0d478ac95 100644 --- a/views/default/user/settings/language.php +++ b/views/default/user/settings/language.php @@ -17,12 +17,17 @@ ?> <h2><?php echo elgg_echo('user:set:language'); ?></h2> <p> - <?php echo elgg_echo('user:language:label'); ?> : <input type="text" name="language" value="<?php + + <?php echo elgg_echo('user:language:label'); ?> : <?php + + $value = $CONFIG->language; if ($user->language) - echo $user->language; - else - echo $CONFIG->language; - ?>" /> + $value = $user->language; + + echo elgg_view("input/pulldown", array('internalname' => 'language', 'value' => $value, 'options_values' => get_installed_translations())); + + ?> + </p> <?php } ?>
\ No newline at end of file |