diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-05 16:52:50 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-05 16:52:50 +0000 |
commit | 697a81f7d240e47e261421a462f3e28a92841a1c (patch) | |
tree | 1a189cd5fe5299905c8f8f0a9306658e2874f42b /mod/notifications/start.php | |
parent | e721c3391124c1fdabf834551112a17cb199e415 (diff) | |
download | elgg-697a81f7d240e47e261421a462f3e28a92841a1c.tar.gz elgg-697a81f7d240e47e261421a462f3e28a92841a1c.tar.bz2 |
Fitter, happier, more productive notifications plugin.
git-svn-id: https://code.elgg.org/elgg/trunk@2657 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/notifications/start.php')
-rw-r--r-- | mod/notifications/start.php | 5 |
1 files changed, 5 insertions, 0 deletions
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;
|