From bc50cfe5538d8e558164f9a5df0bd418ccde4378 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 26 Jun 2008 09:20:24 +0000 Subject: Closes #89: Provide functionality for a user to set their email address in user settings http://trac.elgg.org/elgg/ticket/89 git-svn-id: https://code.elgg.org/elgg/trunk@1138 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/notification.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engine/lib') diff --git a/engine/lib/notification.php b/engine/lib/notification.php index aa2ecbfdd..8a2f2c432 100644 --- a/engine/lib/notification.php +++ b/engine/lib/notification.php @@ -248,6 +248,10 @@ // Register a notification handler for the default email method register_notification_handler("email", "email_notify_handler"); + // Add email settings + extend_elgg_settings_page('notifications/settings/email', 'usersettings/user'); + register_action("email/save"); + // Add settings view to user settings & register action extend_elgg_settings_page('notifications/settings/usersettings', 'usersettings/user'); register_action("notifications/settings/usersettings/save"); -- cgit v1.2.3