diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-17 08:07:25 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-17 08:07:25 +0000 |
commit | 35ad4f06a100ff23556f598c0fb51724b79f2bd0 (patch) | |
tree | 08347467670537000d727513f33309d394858856 /mod/guidbrowser/index.php | |
parent | 472aa15c24655c4d978019edaa4669700964325d (diff) | |
download | elgg-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/index.php')
-rw-r--r-- | mod/guidbrowser/index.php | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/mod/guidbrowser/index.php b/mod/guidbrowser/index.php deleted file mode 100644 index cbb3986d2..000000000 --- a/mod/guidbrowser/index.php +++ /dev/null @@ -1,54 +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"); - - $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'); - - $relationship = get_input('relationship'); - $guid2 = get_input('guid2'); - - - switch ($callaction) - { - case 'metadata' : - if (!create_metadata($eguid, $key, $value)) - echo "Could not create metadata with $eguid:$key:$value"; - break; - - case 'annotations' : - if (!create_annotation($eguid, $key, $value)) - echo "Could not create metadata with $eguid:$key:$value"; - break; - - case 'relationship' : - if (!add_entity_relationship($eguid, $relationship, $guid2)) - echo "Could not create relationship between $eguid:$relationship:$guid2"; - break; - } - - // Get the current page's owner - $page_owner = page_owner_entity(); - - // Display - $body = elgg_view_layout("one_column", guidbrowser_display($offset, $limit, $type, $subtype)); - - // Display page - page_draw(elgg_echo("guidbrowser"), $body); -?>
\ No newline at end of file |