diff options
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 |