aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 17:20:04 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 17:20:04 +0000
commit9a3e5b876ebd966ca1036a6613bab759c7c3f178 (patch)
tree42d5239fab40b00e860314bd465ffdfa5e311c60 /views
parent7cde2f823aef8c8627c01ee9de85c1eb5ce71d8c (diff)
downloadelgg-9a3e5b876ebd966ca1036a6613bab759c7c3f178.tar.gz
elgg-9a3e5b876ebd966ca1036a6613bab759c7c3f178.tar.bz2
Improvements to export view
git-svn-id: https://code.elgg.org/elgg/trunk@1583 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/export/entity.php17
1 files changed, 12 insertions, 5 deletions
diff --git a/views/default/export/entity.php b/views/default/export/entity.php
index 43189d693..71e3b2faf 100644
--- a/views/default/export/entity.php
+++ b/views/default/export/entity.php
@@ -27,7 +27,7 @@
<div>
<table>
<tr>
- <td><b><?php echo $k; ?></b></td>
+ <td><b><?php echo $k; ?>: </b></td>
<td><?php echo $v; ?></td>
</tr>
</table>
@@ -36,6 +36,8 @@
}
?>
</div>
+
+<?php if ($metadata) { ?>
<div id="metadata">
<h2>Metadata</h2>
<?php
@@ -45,7 +47,7 @@
<div>
<table>
<tr>
- <td><b><?php echo $m->name; ?></b></td>
+ <td><b><?php echo $m->name; ?>: </b></td>
<td><?php echo $m->value; ?></td>
</tr>
</table>
@@ -55,7 +57,9 @@
?>
</div>
+<?php } ?>
+<?php if ($annotations) { ?>
<div id="annotations">
<h2>Annotations</h2>
<?php
@@ -65,7 +69,7 @@
<div>
<table>
<tr>
- <td><b><?php echo $a->name; ?></b></td>
+ <td><b><?php echo $a->name; ?>: </b></td>
<td><?php echo $a->value; ?></td>
</tr>
</table>
@@ -74,7 +78,9 @@
}
?>
</div>
+<?php } ?>
+<?php if ($relationships) { ?>
<div id="relationship">
<h2>Relationships</h2>
<?php
@@ -84,7 +90,7 @@
<div>
<table>
<tr>
- <td><b><?php echo $r->relationship; ?></b></td>
+ <td><b><?php echo $r->relationship; ?>: </b></td>
<td><?php echo $r->guid_two; ?></td>
</tr>
</table>
@@ -92,4 +98,5 @@
<?php
}
?>
-</div> \ No newline at end of file
+</div>
+<?php } ?> \ No newline at end of file