url . "pg/updateclient/core/"); //add_submenu_item(elgg_echo('updateclient:label:plugins'), $CONFIG->url . "pg/updateclient/plugins/"); // See what context we're using switch($page[0]) { case "core" : include($CONFIG->pluginspath . "updateclient/index.php"); break; case "plugins" : include($CONFIG->pluginspath . "updateclient/plugin.php"); break; default: include($CONFIG->pluginspath . "updateclient/index.php"); } } else include($CONFIG->pluginspath . "updateclient/index.php"); } function updateclient_check_core() { } // Initialise register_elgg_event_handler('init','system','updateclient_init'); ?>