aboutsummaryrefslogtreecommitdiff
path: root/mod/guidbrowser/start.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-17 08:07:25 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-17 08:07:25 +0000
commit35ad4f06a100ff23556f598c0fb51724b79f2bd0 (patch)
tree08347467670537000d727513f33309d394858856 /mod/guidbrowser/start.php
parent472aa15c24655c4d978019edaa4669700964325d (diff)
downloadelgg-35ad4f06a100ff23556f598c0fb51724b79f2bd0.tar.gz
elgg-35ad4f06a100ff23556f598c0fb51724b79f2bd0.tar.bz2
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
Diffstat (limited to 'mod/guidbrowser/start.php')
-rw-r--r--mod/guidbrowser/start.php60
1 files changed, 0 insertions, 60 deletions
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 @@
-<?php
- /**
- * Elgg GUID browser
- *
- * @package ElggDevTools
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Marcus Povey <marcus@marcus-povey.co.uk>
- * @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