diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-09 14:55:22 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-09 14:55:22 +0000 |
commit | a173f54d6fe468f9bc3868ac493570af2eb689a7 (patch) | |
tree | 65597369027af515d0adcce5ea4b07f19bf1b433 /mod/notifications/start.php | |
parent | bbfc74f5fd5002d2bf88045f1d3479a3ac720f3d (diff) | |
download | elgg-a173f54d6fe468f9bc3868ac493570af2eb689a7.tar.gz elgg-a173f54d6fe468f9bc3868ac493570af2eb689a7.tar.bz2 |
Group notifications, all friends notification option
git-svn-id: https://code.elgg.org/elgg/trunk@2686 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/notifications/start.php')
-rw-r--r-- | mod/notifications/start.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/notifications/start.php b/mod/notifications/start.php index 1691872a6..cdbe78cc1 100644 --- a/mod/notifications/start.php +++ b/mod/notifications/start.php @@ -17,8 +17,11 @@ */
function notifications_plugin_pagesetup() {
global $CONFIG;
- if (get_context() == 'settings')
+ if (get_context() == 'settings') {
add_submenu_item(elgg_echo('notifications:subscriptions:changesettings'), $CONFIG->wwwroot . "mod/notifications/");
+ if (is_plugin_enabled('groups'))
+ add_submenu_item(elgg_echo('notifications:subscriptions:changesettings:groups'), $CONFIG->wwwroot . "mod/notifications/groups.php");
+ }
}
function notifications_plugin_init() {
@@ -39,5 +42,6 @@ // Register action
global $CONFIG;
register_action("notificationsettings/save",false,$CONFIG->pluginspath . "notifications/actions/save.php");
+ register_action("notificationsettings/groupsave",false,$CONFIG->pluginspath . "notifications/actions/groupsave.php");
?>
\ No newline at end of file |