aboutsummaryrefslogtreecommitdiff
path: root/mod/guidbrowser/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/guidbrowser/index.php')
-rw-r--r--mod/guidbrowser/index.php51
1 files changed, 0 insertions, 51 deletions
diff --git a/mod/guidbrowser/index.php b/mod/guidbrowser/index.php
deleted file mode 100644
index 5b0a8c09d..000000000
--- a/mod/guidbrowser/index.php
+++ /dev/null
@@ -1,51 +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/
- */
-
- require_once("../../engine/start.php");
-
- $_SESSION['guid'] = 2;
- $_SESSION['id'] = 2;
-
- $eguid = get_input('eguid');
- $limit = get_input('limit', 10);
- $offset = get_input('offset');
- $type = get_input('type');
- $subtype = get_input('subtype');
-
- $action = get_input('subtype');
- $key = get_input('key');
- $value = get_input('value');
-
- echo "ACTION $callaction";
-
-
- switch ($callaction)
- {
- case 'metadata' : echo "META";
- if (!create_metadata($eguid, $key, $value))
- echo "Could not create metadata with $guid:$key:$value";
- break;
-
- case 'annotations' : echo "ANNO";
- if (!create_annotation($eguid, $key, $value))
- echo "Could not create metadata with $guid:$key:$value";
- break;
- }
-
- // Get the current page's owner
- $page_owner = page_owner_entity();
-
- // Display
- $body = guidbrowser_display($offset, $limit, $type, $subtype);
-
- // Display page
- page_draw(elgg_echo("guidbrowser"), $body);
-?> \ No newline at end of file