diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/blog/start.php | 2 | ||||
-rw-r--r-- | mod/bookmarks/start.php | 2 | ||||
-rw-r--r-- | mod/categories/start.php | 2 | ||||
-rw-r--r-- | mod/developers/start.php | 2 | ||||
-rw-r--r-- | mod/diagnostics/start.php | 2 | ||||
-rw-r--r-- | mod/embed/start.php | 2 | ||||
-rw-r--r-- | mod/externalpages/start.php | 2 | ||||
-rw-r--r-- | mod/file/start.php | 2 | ||||
-rw-r--r-- | mod/groups/start.php | 6 | ||||
-rw-r--r-- | mod/invitefriends/start.php | 2 | ||||
-rw-r--r-- | mod/messageboard/start.php | 2 | ||||
-rw-r--r-- | mod/messages/start.php | 2 | ||||
-rw-r--r-- | mod/notifications/start.php | 2 | ||||
-rw-r--r-- | mod/pages/start.php | 2 | ||||
-rw-r--r-- | mod/profile/start.php | 2 | ||||
-rw-r--r-- | mod/reportedcontent/start.php | 2 | ||||
-rw-r--r-- | mod/search/start.php | 2 | ||||
-rw-r--r-- | mod/thewire/start.php | 2 | ||||
-rw-r--r-- | mod/twitterservice/start.php | 2 | ||||
-rw-r--r-- | mod/uservalidationbyemail/start.php | 2 |
20 files changed, 22 insertions, 22 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php index 104897bfd..ae939fef3 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -32,7 +32,7 @@ function blog_init() { elgg_extend_view('css/screen', 'blog/css'); // routing of urls - register_page_handler('blog', 'blog_page_handler'); + elgg_register_page_handler('blog', 'blog_page_handler'); // override the default url to view a blog object register_entity_url_handler('blog_url_handler', 'object', 'blog'); diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php index 04a452d32..9d8e59334 100644 --- a/mod/bookmarks/start.php +++ b/mod/bookmarks/start.php @@ -13,7 +13,7 @@ function bookmarks_init() { elgg_register_menu_item('site', $item); // Register a page handler, so we can have nice URLs - register_page_handler('bookmarks', 'bookmarks_page_handler'); + elgg_register_page_handler('bookmarks', 'bookmarks_page_handler'); // Add our CSS elgg_extend_view('css/screen', 'bookmarks/css'); diff --git a/mod/categories/start.php b/mod/categories/start.php index 5590c0089..1b8645eef 100644 --- a/mod/categories/start.php +++ b/mod/categories/start.php @@ -18,7 +18,7 @@ function categories_init() { $action_base = elgg_get_plugins_path() . 'categories/actions'; elgg_register_action('settings/categories/save', "$action_base/save.php", 'admin'); - register_page_handler('categories', 'categories_page_handler'); + elgg_register_page_handler('categories', 'categories_page_handler'); elgg_register_event_handler('update', 'all', 'categories_save'); elgg_register_event_handler('create', 'all', 'categories_save'); diff --git a/mod/developers/start.php b/mod/developers/start.php index 99a0fec63..6bb3dae0f 100644 --- a/mod/developers/start.php +++ b/mod/developers/start.php @@ -10,7 +10,7 @@ function developers_init() { elgg_extend_view('css/admin', 'developers/css'); - register_page_handler('theme_preview', 'developers_theme_preview_controller'); + elgg_register_page_handler('theme_preview', 'developers_theme_preview_controller'); $action_base = elgg_get_plugins_path() . 'developers/actions/developers'; elgg_register_action('developers/settings', "$action_base/settings.php", 'admin'); diff --git a/mod/diagnostics/start.php b/mod/diagnostics/start.php index e3d7abd1a..a79306b25 100644 --- a/mod/diagnostics/start.php +++ b/mod/diagnostics/start.php @@ -13,7 +13,7 @@ elgg_register_event_handler('init', 'system', 'diagnostics_init'); function diagnostics_init() { // Register a page handler, so we can have nice URLs - register_page_handler('diagnostics','diagnostics_page_handler'); + elgg_register_page_handler('diagnostics','diagnostics_page_handler'); // Add admin menu item elgg_add_admin_menu_item('diagnostics', elgg_echo('diagnostics'), 'utilities'); diff --git a/mod/embed/start.php b/mod/embed/start.php index f8a8701fa..1297f4cc3 100644 --- a/mod/embed/start.php +++ b/mod/embed/start.php @@ -18,7 +18,7 @@ function embed_init() { elgg_extend_view('input/longtext', 'embed/link', 1); // Page handler for the modal media embed - register_page_handler('embed', 'embed_page_handler'); + elgg_register_page_handler('embed', 'embed_page_handler'); } /** diff --git a/mod/externalpages/start.php b/mod/externalpages/start.php index 86d5894f7..41df8750d 100644 --- a/mod/externalpages/start.php +++ b/mod/externalpages/start.php @@ -8,7 +8,7 @@ register_elgg_event_handler('init', 'system', 'expages_init'); function expages_init() { // Register a page handler, so we can have nice URLs - register_page_handler('expages', 'expages_page_handler'); + elgg_register_page_handler('expages', 'expages_page_handler'); // add a menu item for the admin edit page elgg_add_admin_menu_item('expages', elgg_echo('expages'), 'site'); diff --git a/mod/file/start.php b/mod/file/start.php index cea8b6bd5..f187cb778 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -26,7 +26,7 @@ function file_init() { elgg_extend_view('groups/tool_latest', 'file/group_module'); // Register a page handler, so we can have nice URLs - register_page_handler('file', 'file_page_handler'); + elgg_register_page_handler('file', 'file_page_handler'); // Add a new file widget elgg_register_widget_type('filerepo', elgg_echo("file"), elgg_echo("file:widget:description")); diff --git a/mod/groups/start.php b/mod/groups/start.php index 44b5363dc..9b18e4d9b 100644 --- a/mod/groups/start.php +++ b/mod/groups/start.php @@ -25,14 +25,14 @@ function groups_init() { elgg_register_menu_item('site', $item); // Register a page handler, so we can have nice URLs - register_page_handler('groups', 'groups_page_handler'); + elgg_register_page_handler('groups', 'groups_page_handler'); // Register URL handlers for groups register_entity_url_handler('groups_url', 'group', 'all'); elgg_register_plugin_hook_handler('entity:icon:url', 'group', 'groups_icon_url_override'); // Register an icon handler for groups - register_page_handler('groupicon', 'groups_icon_handler'); + elgg_register_page_handler('groupicon', 'groups_icon_handler'); // Register some actions $action_base = elgg_get_plugins_path() . 'groups/actions'; @@ -475,7 +475,7 @@ function discussion_init() { elgg_register_library('elgg:discussion', elgg_get_plugins_path() . 'groups/lib/discussion.php'); - register_page_handler('discussion', 'discussion_page_handler'); + elgg_register_page_handler('discussion', 'discussion_page_handler'); register_entity_url_handler('discussion_override_topic_url', 'object', 'groupforumtopic'); //register_extender_url_handler('group_topicpost_url', 'annotation', 'group_topic_post'); diff --git a/mod/invitefriends/start.php b/mod/invitefriends/start.php index 1b1b0a0ed..e05a2e128 100644 --- a/mod/invitefriends/start.php +++ b/mod/invitefriends/start.php @@ -8,7 +8,7 @@ elgg_register_event_handler('init', 'system', 'invitefriends_init'); function invitefriends_init() { - register_page_handler('invite', 'invitefriends_page_handler'); + elgg_register_page_handler('invite', 'invitefriends_page_handler'); elgg_register_action('invitefriends/invite', elgg_get_plugins_path() . 'invitefriends/actions/invite.php'); diff --git a/mod/messageboard/start.php b/mod/messageboard/start.php index 0e587f914..4ce631569 100644 --- a/mod/messageboard/start.php +++ b/mod/messageboard/start.php @@ -17,7 +17,7 @@ function messageboard_init() { elgg_extend_view('css/screen', 'messageboard/css'); // Register a page handler, so we can have nice URLs - register_page_handler('messageboard', 'messageboard_page_handler'); + elgg_register_page_handler('messageboard', 'messageboard_page_handler'); // add a messageboard widget - only for profile elgg_register_widget_type('messageboard', elgg_echo("messageboard:board"), elgg_echo("messageboard:desc"), "profile"); diff --git a/mod/messages/start.php b/mod/messages/start.php index c1693bbcc..491bdab15 100644 --- a/mod/messages/start.php +++ b/mod/messages/start.php @@ -37,7 +37,7 @@ function messages_init() { elgg_extend_view('elgg_topbar/extend', 'messages/topbar'); // Register a page handler, so we can have nice URLs - register_page_handler('messages', 'messages_page_handler'); + elgg_register_page_handler('messages', 'messages_page_handler'); // Register a URL handler register_entity_url_handler('messages_url', 'object', 'messages'); diff --git a/mod/notifications/start.php b/mod/notifications/start.php index 09d0f0c48..f4d50847c 100644 --- a/mod/notifications/start.php +++ b/mod/notifications/start.php @@ -11,7 +11,7 @@ function notifications_plugin_init() { elgg_extend_view('css/screen','notifications/css'); - register_page_handler('notifications', 'notifications_page_handler'); + elgg_register_page_handler('notifications', 'notifications_page_handler'); elgg_register_event_handler('pagesetup', 'system', 'notifications_plugin_pagesetup'); diff --git a/mod/pages/start.php b/mod/pages/start.php index 31288e040..51f7f84af 100644 --- a/mod/pages/start.php +++ b/mod/pages/start.php @@ -20,7 +20,7 @@ function pages_init() { elgg_register_menu_item('site', $item); // Register a page handler, so we can have nice URLs - register_page_handler('pages', 'pages_page_handler'); + elgg_register_page_handler('pages', 'pages_page_handler'); // Register a url handler register_entity_url_handler('pages_url', 'object', 'page_top'); diff --git a/mod/profile/start.php b/mod/profile/start.php index 21f7a8c05..8387f7d1b 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -27,7 +27,7 @@ function profile_init() { elgg_view_register_simplecache('icon/user/default/master'); // Register a page handler, so we can have nice URLs - register_page_handler('profile', 'profile_page_handler'); + elgg_register_page_handler('profile', 'profile_page_handler'); elgg_extend_view('html_head/extend', 'profile/metatags'); elgg_extend_view('css/screen', 'profile/css'); diff --git a/mod/reportedcontent/start.php b/mod/reportedcontent/start.php index 9e5bb813a..eba1b13a1 100644 --- a/mod/reportedcontent/start.php +++ b/mod/reportedcontent/start.php @@ -13,7 +13,7 @@ elgg_register_event_handler('init', 'system', 'reportedcontent_init'); function reportedcontent_init() { // Register a page handler, so we can have nice URLs - register_page_handler('reportedcontent', 'reportedcontent_page_handler'); + elgg_register_page_handler('reportedcontent', 'reportedcontent_page_handler'); // Extend CSS elgg_extend_view('css/screen', 'reportedcontent/css'); diff --git a/mod/search/start.php b/mod/search/start.php index 401bf84a5..b979e2f79 100644 --- a/mod/search/start.php +++ b/mod/search/start.php @@ -14,7 +14,7 @@ function search_init() { require_once 'search_hooks.php'; // page handler for search actions and results - register_page_handler('search','search_page_handler'); + elgg_register_page_handler('search','search_page_handler'); // register some default search hooks elgg_register_plugin_hook_handler('search', 'object', 'search_objects_hook'); diff --git a/mod/thewire/start.php b/mod/thewire/start.php index c2c0f491d..d36be6e99 100644 --- a/mod/thewire/start.php +++ b/mod/thewire/start.php @@ -29,7 +29,7 @@ function thewire_init() { elgg_extend_view('js/initialise_elgg', 'thewire/js/textcounter');
// Register a page handler, so we can have nice URLs
- register_page_handler('thewire', 'thewire_page_handler');
+ elgg_register_page_handler('thewire', 'thewire_page_handler');
// Register a URL handler for thewire posts
register_entity_url_handler('thewire_url', 'object', 'thewire');
diff --git a/mod/twitterservice/start.php b/mod/twitterservice/start.php index ed5022359..cc64734e7 100644 --- a/mod/twitterservice/start.php +++ b/mod/twitterservice/start.php @@ -42,7 +42,7 @@ function twitterservice_init() { } // register page handler - register_page_handler('twitterservice', 'twitterservice_pagehandler'); + elgg_register_page_handler('twitterservice', 'twitterservice_pagehandler'); // register Walled Garden public pages elgg_register_plugin_hook_handler('public_pages', 'walled_garden', 'twitterservice_public_pages'); diff --git a/mod/uservalidationbyemail/start.php b/mod/uservalidationbyemail/start.php index d04adcf4d..e895d3e6a 100644 --- a/mod/uservalidationbyemail/start.php +++ b/mod/uservalidationbyemail/start.php @@ -15,7 +15,7 @@ function uservalidationbyemail_init() { // Register page handler to validate users // This doesn't need to be an action because security is handled by the validation codes. - register_page_handler('uservalidationbyemail', 'uservalidationbyemail_page_handler'); + elgg_register_page_handler('uservalidationbyemail', 'uservalidationbyemail_page_handler'); // mark users as unvalidated and disable when they register elgg_register_plugin_hook_handler('register', 'user', 'uservalidationbyemail_disable_new_user'); |