diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-30 14:34:29 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-30 14:34:29 +0000 |
commit | f692235ef64cdf3d90cba3a0f3434983adb9e480 (patch) | |
tree | e14803dad5d9e029b30e97624b942422459fe2d9 /views/default/export/relationship.php | |
parent | e82f9f21b5094e303d70b33d380c2ee1e68e8b66 (diff) | |
download | elgg-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/relationship.php')
-rw-r--r-- | views/default/export/relationship.php | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/views/default/export/relationship.php b/views/default/export/relationship.php index 8819a356a..1dd3b8b7e 100644 --- a/views/default/export/relationship.php +++ b/views/default/export/relationship.php @@ -13,13 +13,17 @@ $r = $vars['relationship']; + $e1 = get_entity($r->guid_one); + $e2 = get_entity($r->guid_two); + + ?> <div> - <table> - <tr> - <td><?php echo $r->guid_one; ?></td> - <td><b><?php echo $r->relationship; ?></b></td> - <td><?php echo $r->guid_two; ?></td> - </tr> - </table> + <p><?php + if ($e1) echo "<a href=\"" . $e1->getURL() . "\">GUID:" . $r->guid_one . "</a>"; else echo "GUID:".$r->guid_one; + ?> + <b><?php echo $r->relationship; ?></b> + <?php + if ($e2) echo "<a href=\"" . $e2->getURL() . "\">GUID:" . $r->guid_two . "</a>"; else echo "GUID:".$r->guid_two; + ?></p> </div>
\ No newline at end of file |