diff options
-rw-r--r-- | views/default/export/metadata.php | 9 | ||||
-rw-r--r-- | views/default/export/relationship.php | 18 |
2 files changed, 14 insertions, 13 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 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 |