From 35ad4f06a100ff23556f598c0fb51724b79f2bd0 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 17 Jun 2008 08:07:25 +0000 Subject: removed guid exporter, exporttest and apitest from core and put them into the plugins folder git-svn-id: https://code.elgg.org/elgg/trunk@941 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/guidbrowser/start.php | 60 ----------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 mod/guidbrowser/start.php (limited to 'mod/guidbrowser/start.php') diff --git a/mod/guidbrowser/start.php b/mod/guidbrowser/start.php deleted file mode 100644 index a75711c1d..000000000 --- a/mod/guidbrowser/start.php +++ /dev/null @@ -1,60 +0,0 @@ - - * @copyright Curverider Ltd 2008 - * @link http://elgg.com/ - */ - - function guidbrowser_init($event, $object_type, $object = null) { - - global $CONFIG; - // register_translations($CONFIG->pluginspath . "guidbrowser/languages/"); - add_menu("GUID Browser",$CONFIG->wwwroot . "mod/tasklist/",array( - menu_item("The GUID browser",$CONFIG->wwwroot."mod/guidbrowser/"), - )); - } - - function guidbrowser_displayentity($entity) - { - return elgg_view("guidbrowser/entity", - array( - 'entity_guid' => $entity->guid, - 'type' => $entity->type, - 'subtype' => $entity->getSubtype(), - 'full' => elgg_view( - "guidbrowser/entity_full", - array( - 'entity' => $entity, - 'metadata' => get_metadata_for_entity($entity->guid), - 'annotations' => get_annotations($entity->guid), - 'relationships' => get_entity_relationships($entity->guid) - ) - ) - ) - ); - } - - function guidbrowser_display($offset = 0, $limit = 10, $type = "", $subtype = "") - { - $entities = get_entities($type, $subtype, page_owner(), "time_created desc", $limit, $offset); - $display = ""; - - foreach ($entities as $e) - $display .= guidbrowser_displayentity($e); - - return elgg_view("guidbrowser/browser", - array( - 'entities' => $display, - 'prevnext' => elgg_view("guidbrowser/prevnext", array("limit" => $limit, "offset" => $offset)) - ) - ); - } - - - // Make sure test_init is called on initialisation - register_elgg_event_handler('init','system','guidbrowser_init'); -?> \ No newline at end of file -- cgit v1.2.3