aboutsummaryrefslogtreecommitdiff
path: root/views/default/export/metadata.php
blob: fc9c57da81205e26a79be590fc909e5c3b9dae35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
	/**
	 * Elgg metadata export.
	 * Displays a metadata item using the current view.
	 * 
	 * @package Elgg
	 * @subpackage Core
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Marcus Povey
	 * @copyright Curverider Ltd 2008
	 * @link http://elgg.org/
	 */

	$m = $vars['metadata'];
	$e = get_entity($m->entity_guid);
?>
<div>
	<p><?php if ($e) echo "<a href=\"" . $e->getURL() . "\">GUID:{$m->entity_guid}</a>"; else echo "GUID:".$m->entity_guid;
	?>: <b><?php echo $m->name; ?></b> <?php echo $m->value; ?></p>
</div>