aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/core/settings/account/language.php2
-rw-r--r--views/default/forms/account/settings.php7
2 files changed, 8 insertions, 1 deletions
diff --git a/views/default/core/settings/account/language.php b/views/default/core/settings/account/language.php
index c8fef3a46..a1e8d9886 100644
--- a/views/default/core/settings/account/language.php
+++ b/views/default/core/settings/account/language.php
@@ -20,7 +20,7 @@ if ($user) {
<?php
echo elgg_view("input/dropdown", array(
'internalname' => 'language',
- 'value' => $value,
+ 'value' => $user->language,
'options_values' => get_installed_translations()
));
?>
diff --git a/views/default/forms/account/settings.php b/views/default/forms/account/settings.php
index b3d9bbc7f..824b2280b 100644
--- a/views/default/forms/account/settings.php
+++ b/views/default/forms/account/settings.php
@@ -1 +1,8 @@
<?php
+/**
+ * Account settings form used for user settings
+ *
+ * This form is extended by Elgg with the views in core/settings/account.
+ * Plugins can additionally extend it and then register for the
+ * 'usersettings:save', 'user' plugin hook.
+ */