aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 14:41:10 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 14:41:10 +0000
commit96acf3d78a3befa05da98a909d62f6d3feefaf6b (patch)
tree183300034ae15678af1b2187e7f8c0372356ea18 /views
parentf692235ef64cdf3d90cba3a0f3434983adb9e480 (diff)
downloadelgg-96acf3d78a3befa05da98a909d62f6d3feefaf6b.tar.gz
elgg-96acf3d78a3befa05da98a909d62f6d3feefaf6b.tar.bz2
Minor improvements to default entity view.
git-svn-id: https://code.elgg.org/elgg/trunk@1604 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/export/entity.php30
1 files changed, 7 insertions, 23 deletions
diff --git a/views/default/export/entity.php b/views/default/export/entity.php
index 71e3b2faf..98fb16920 100644
--- a/views/default/export/entity.php
+++ b/views/default/export/entity.php
@@ -25,12 +25,7 @@
{
?>
<div>
- <table>
- <tr>
- <td><b><?php echo $k; ?>: </b></td>
- <td><?php echo $v; ?></td>
- </tr>
- </table>
+ <p><b><?php echo $k; ?>: </b><?php echo $v; ?></p>
</div>
<?php
}
@@ -39,18 +34,13 @@
<?php if ($metadata) { ?>
<div id="metadata">
-<h2>Metadata</h2>
+<h2><?php echo elgg_echo('metadata'); ?></h2>
<?php
foreach ($metadata as $m)
{
?>
<div>
- <table>
- <tr>
- <td><b><?php echo $m->name; ?>: </b></td>
- <td><?php echo $m->value; ?></td>
- </tr>
- </table>
+ <p><b><?php echo $m->name; ?>: </b><?php echo $m->value; ?></p>
</div>
<?php
}
@@ -61,17 +51,14 @@
<?php if ($annotations) { ?>
<div id="annotations">
-<h2>Annotations</h2>
+<h2><?php echo elgg_echo('annotations'); ?></h2>
<?php
foreach ($annotations as $a)
{
?>
<div>
<table>
- <tr>
- <td><b><?php echo $a->name; ?>: </b></td>
- <td><?php echo $a->value; ?></td>
- </tr>
+ <p><b><?php echo $a->name; ?>: </b><?php echo $a->value; ?></p>
</table>
</div>
<?php
@@ -82,17 +69,14 @@
<?php if ($relationships) { ?>
<div id="relationship">
-<h2>Relationships</h2>
+<h2><?php echo elgg_echo('relationships'); ?></h2>
<?php
foreach ($relationships as $r)
{
?>
<div>
<table>
- <tr>
- <td><b><?php echo $r->relationship; ?>: </b></td>
- <td><?php echo $r->guid_two; ?></td>
- </tr>
+ <p><b><?php echo $r->relationship; ?>: </b><?php echo $r->guid_two; ?></p>
</table>
</div>
<?php