From 697a81f7d240e47e261421a462f3e28a92841a1c Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 5 Feb 2009 16:52:50 +0000 Subject: Fitter, happier, more productive notifications plugin. git-svn-id: https://code.elgg.org/elgg/trunk@2657 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/notifications/start.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mod/notifications/start.php') diff --git a/mod/notifications/start.php b/mod/notifications/start.php index 4c8182990..22d4a0be0 100644 --- a/mod/notifications/start.php +++ b/mod/notifications/start.php @@ -20,8 +20,13 @@ if (get_context() == 'settings') add_submenu_item(elgg_echo('notifications:subscriptions:changesettings'), $CONFIG->wwwroot . "mod/notifications/"); } + + function notifications_plugin_init() { + extend_view('css','notifications/css'); + } register_elgg_event_handler('pagesetup','system','notifications_plugin_pagesetup',1000); + register_elgg_event_handler('init','system','notifications_plugin_init'); // Register action global $CONFIG; -- cgit v1.2.3