aboutsummaryrefslogtreecommitdiff
path: root/mod/exporttest/views/default/exporttest/main.php
blob: ebd64ce65e30f8f4d51f907f81f30ffcd45bec44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
	/**
	 * Elgg export test
	 * 
	 * @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/
	 */
?>

<form>
	<input type="hidden" name="owner_id" value="<?php echo $vars['owner_id']; ?>" />
	GUID : <input type="text" value="" name="guid" /> <input type="submit" name="export" value="export" />
</form>

<form method="post" action="<?php echo $vars['url']; ?>action/import/odd">
	<input type="hidden" name="owner_id" value="<?php echo $vars['owner_id']; ?>" />
	<input type="hidden" name="action" value="import" />
	IMPORT : 
	<textarea name="data" cols="50" rows="10"></textarea>
	<input type="submit" name="import" value="import" />
</form>