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"); ?>