aboutsummaryrefslogtreecommitdiff
path: root/views/default/export/metadata.php
blob: 61da01f319f9af0ce5e99c0b269d6f30ef6d6324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * Elgg metadata export.
 * Displays a metadata item using the current view.
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */

$m = $vars['metadata'];
$e = get_entity($m->entity_guid);
?>
<p class="margin_none"><?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>