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/exporttest/index.php | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 mod/exporttest/index.php (limited to 'mod/exporttest/index.php') diff --git a/mod/exporttest/index.php b/mod/exporttest/index.php deleted file mode 100644 index f3010d971..000000000 --- a/mod/exporttest/index.php +++ /dev/null @@ -1,40 +0,0 @@ - - * @copyright Curverider Ltd 2008 - * @link http://elgg.com/ - */ - - require_once("../../engine/start.php"); - - global $CONFIG; - - $guid = get_input("guid"); - $action = get_input("action"); - - // Get the user - $owner_id = page_owner(); - - if ($guid) - { - echo elgg_view_layout("one_column", elgg_view("exporttest/outputxml", array("xml" => export($guid)))); - } - else if ($action=='import') - { - $area1 = print_r(import(get_input('xml')), true); - $area1 .= elgg_view("exporttest/main", array("owner_id" => $owner_id)); - - $body = elgg_view_layout("one_column", $area1); - - page_draw("Import results",$body); - } - else - { - $body = elgg_view_layout("one_column", elgg_view("exporttest/main", array("owner_id" => $owner_id))); - page_draw("Export a GUID",$body); - } -?> \ No newline at end of file -- cgit v1.2.3