aboutsummaryrefslogtreecommitdiff
path: root/mod/guidtool/views/default/forms/guidtool/export.php
blob: f5742555a515706339fc24444f0ecddb250e8329 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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
	 * @link http://elgg.com/
	 */

	global $CONFIG;
	
	$format = $vars['format'];
	if (!$format) $format = 'opendd';
	
	$entity_guid = get_input('entity_guid');
	
	
?>
<div id="export">
<?php echo elgg_view('output/longtext', array('value' => htmlentities(file_get_contents($CONFIG->url . "export/$format/$entity_guid/"), null, 'UTF-8'))) ?>
</div>