diff options
| author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 14:10:19 +0000 | 
|---|---|---|
| committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 14:10:19 +0000 | 
| commit | b8c26d7300e672f90cc1c1a62e4a1ea0c67e4a09 (patch) | |
| tree | 230c31e03e833703e4d02c03b9eda3e7b25d838a /mod/exporttest/index.php | |
| parent | 37a3f9abb2520d15ddec79e98c5597c84b1980cf (diff) | |
| download | elgg-b8c26d7300e672f90cc1c1a62e4a1ea0c67e4a09.tar.gz elgg-b8c26d7300e672f90cc1c1a62e4a1ea0c67e4a09.tar.bz2 | |
Marcus Povey <marcus@dushka.co.uk>
* Added import block
git-svn-id: https://code.elgg.org/elgg/trunk@306 36083f99-b078-4883-b0ff-0f9b5a30f544
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)); | 
