From 27e6aeae6cc813ef7f0dadd67f3002871bce3356 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 26 Jun 2008 11:36:01 +0000 Subject: Closes #90: Settings: Change name http://trac.elgg.org/elgg/ticket/90 git-svn-id: https://code.elgg.org/elgg/trunk@1142 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'engine/lib/users.php') diff --git a/engine/lib/users.php b/engine/lib/users.php index 5b8f04389..c0c43cb2f 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -900,7 +900,15 @@ register_action("register",true); register_action("friends/add"); register_action("friends/remove"); - register_action("email/confirm"); + register_action("email/confirm"); + + // User name change + extend_elgg_settings_page('user/settings/name', 'usersettings/user', 1); + register_action("user/name"); + + // Add email settings + extend_elgg_settings_page('user/settings/email', 'usersettings/user', 1); + register_action("email/save"); } //register actions ************************************************************* -- cgit v1.2.3