diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-28 18:23:39 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-28 18:23:39 +0000 |
commit | f37e894f9c722f4c7f17d1f3e655e8584da1e4b9 (patch) | |
tree | a58905e182f6989e0e3bf10d687782844a4b26ac /mod/exporttest/index.php | |
parent | 2107f3f3de4898e64fa16538186031c5fda4d6d7 (diff) | |
download | elgg-f37e894f9c722f4c7f17d1f3e655e8584da1e4b9.tar.gz elgg-f37e894f9c722f4c7f17d1f3e655e8584da1e4b9.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Export test
git-svn-id: https://code.elgg.org/elgg/trunk@288 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/exporttest/index.php')
-rw-r--r-- | mod/exporttest/index.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mod/exporttest/index.php b/mod/exporttest/index.php new file mode 100644 index 000000000..0a4aea8cd --- /dev/null +++ b/mod/exporttest/index.php @@ -0,0 +1,21 @@ +<?php + require_once("../../engine/start.php"); + + global $CONFIG; + + $guid = get_input("guid"); + $_SESSION['id'] = 2; + + // Get the user + $owner_id = page_owner(); + + if ($guid) + { + echo elgg_view("exporttest/outputxml", array("xml" => export($guid))); + } + else + { + $body = elgg_view("exporttest/main", array("owner_id" => $owner_id)); + page_draw("Export a GUID",$body); + } +?>
\ No newline at end of file |