diff options
Diffstat (limited to 'mod/exporttest/index.php')
-rw-r--r-- | mod/exporttest/index.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/exporttest/index.php b/mod/exporttest/index.php index 0a4aea8cd..e057ab094 100644 --- a/mod/exporttest/index.php +++ b/mod/exporttest/index.php @@ -13,6 +13,12 @@ { echo elgg_view("exporttest/outputxml", array("xml" => export($guid))); } + else if ($action=='import') + { + $body = import(get_input('xml')); + $body .= elgg_view("exporttest/main", array("owner_id" => $owner_id)); + page_draw("Import results",$body); + } else { $body = elgg_view("exporttest/main", array("owner_id" => $owner_id)); |