aboutsummaryrefslogtreecommitdiff
path: root/views/default/export/metadata.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 14:34:29 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 14:34:29 +0000
commitf692235ef64cdf3d90cba3a0f3434983adb9e480 (patch)
treee14803dad5d9e029b30e97624b942422459fe2d9 /views/default/export/metadata.php
parente82f9f21b5094e303d70b33d380c2ee1e68e8b66 (diff)
downloadelgg-f692235ef64cdf3d90cba3a0f3434983adb9e480.tar.gz
elgg-f692235ef64cdf3d90cba3a0f3434983adb9e480.tar.bz2
Improved views
git-svn-id: https://code.elgg.org/elgg/trunk@1603 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/export/metadata.php')
-rw-r--r--views/default/export/metadata.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/views/default/export/metadata.php b/views/default/export/metadata.php
index 303c42e54..fc9c57da8 100644
--- a/views/default/export/metadata.php
+++ b/views/default/export/metadata.php
@@ -12,12 +12,9 @@
*/
$m = $vars['metadata'];
+ $e = get_entity($m->entity_guid);
?>
<div>
- <table>
- <tr>
- <td><b><?php echo $m->name; ?></b></td>
- <td><?php echo $m->value; ?></td>
- </tr>
- </table>
+ <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> \ No newline at end of file