aboutsummaryrefslogtreecommitdiff
path: root/mod/guidtool/import.php
blob: 0b163ddbf1296099e97aca09bd914faa1303bbad (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 GUID Tool
	 * 
	 * @package ElggGUIDTool
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider Ltd
	 * @copyright Curverider Ltd 2008-2009
	 * @link http://elgg.com/
	 */

	admin_gatekeeper();
	
	$format = get_input('format', 'opendd');

	// Render the file upload page
	$title = elgg_echo("guidtool:import");
	$body = elgg_view_title($title);
	$body .= elgg_view("forms/guidtool/import", array('format' => $format, 'forward_url'));
	
	$body = elgg_view_layout('two_column_left_sidebar', '', $body);
	
	page_draw($title, $body);
?>