aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/user_settings.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-12-17 16:10:06 -0500
committercash <cash.costello@gmail.com>2011-12-17 16:10:06 -0500
commita41f00224a0b5bc241b569138f4562bae4b811dd (patch)
treee6fdb59a9c7f3b5f4be6ae2799c9d1f847d40955 /engine/lib/user_settings.php
parent3d8ca76d4b8b9e69a92f5f5b034609b410c9ee8c (diff)
downloadelgg-a41f00224a0b5bc241b569138f4562bae4b811dd.tar.gz
elgg-a41f00224a0b5bc241b569138f4562bae4b811dd.tar.bz2
moved user settings extensions to user_settings library
Diffstat (limited to 'engine/lib/user_settings.php')
-rw-r--r--engine/lib/user_settings.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/engine/lib/user_settings.php b/engine/lib/user_settings.php
index c71670357..af30d8f0d 100644
--- a/engine/lib/user_settings.php
+++ b/engine/lib/user_settings.php
@@ -346,6 +346,13 @@ function usersettings_init() {
elgg_register_plugin_hook_handler('usersettings:save', 'user', 'users_settings_save');
elgg_register_action("usersettings/save");
+
+ // extend the account settings form
+ elgg_extend_view('forms/account/settings', 'core/settings/account/name', 100);
+ elgg_extend_view('forms/account/settings', 'core/settings/account/password', 100);
+ elgg_extend_view('forms/account/settings', 'core/settings/account/email', 100);
+ elgg_extend_view('forms/account/settings', 'core/settings/account/language', 100);
+ elgg_extend_view('forms/account/settings', 'core/settings/account/default_access', 100);
}
elgg_register_event_handler('init', 'system', 'usersettings_init');