From 4766f36a4d74924f21ff329c4318ce4e069ffa04 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 3 Mar 2010 17:53:05 +0000 Subject: Pulled in the interface changes. git-svn-id: http://code.elgg.org/elgg/trunk@5257 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/reportedcontent/start.php | 69 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 mod/reportedcontent/start.php (limited to 'mod/reportedcontent/start.php') diff --git a/mod/reportedcontent/start.php b/mod/reportedcontent/start.php new file mode 100644 index 000000000..d8ee7369e --- /dev/null +++ b/mod/reportedcontent/start.php @@ -0,0 +1,69 @@ +wwwroot . 'pg/reportedcontent/'); + } + } + + /** + * Reported content page handler + * + * @param array $page Array of page elements, forwarded by the page handling mechanism + */ + function reportedcontent_page_handler($page) + { + global $CONFIG; + + // only interested in one page for now + include($CONFIG->pluginspath . "reportedcontent/index.php"); + } + + + + // Initialise Reported Content + register_elgg_event_handler('init','system','reportedcontent_init'); + register_elgg_event_handler('pagesetup','system','reportedcontent_pagesetup'); + + //register action + register_action('reportedcontent/add',false,$CONFIG->pluginspath . "reportedcontent/actions/add.php"); + register_action('reportedcontent/delete',false,$CONFIG->pluginspath . "reportedcontent/actions/delete.php"); + register_action('reportedcontent/archive',false,$CONFIG->pluginspath . "reportedcontent/actions/archive.php"); + +?> \ No newline at end of file -- cgit v1.2.3