diff options
Diffstat (limited to 'views/default/export')
| -rw-r--r-- | views/default/export/entity.php | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/views/default/export/entity.php b/views/default/export/entity.php index faf27e932..3064f1288 100644 --- a/views/default/export/entity.php +++ b/views/default/export/entity.php @@ -11,9 +11,12 @@ $entity = $vars['entity']; if (!$entity) { throw new InvalidParameterException(elgg_echo('InvalidParameterException:NoEntityFound')); } - -$metadata = get_metadata_for_entity($entity->guid); -$annotations = get_annotations($entity->guid); +$options = array( + 'guid' => $entity->guid, + 'limit' => 0 +); +$metadata = elgg_get_metadata($options); +$annotations = elgg_get_annotations($options); $relationships = get_entity_relationships($entity->guid); $exportable_values = $entity->getExportableValues(); @@ -32,7 +35,7 @@ $exportable_values = $entity->getExportableValues(); </div> <?php if ($metadata) { ?> -<div id="metadata" class="margin-top"> +<div id="metadata" class="mtm"> <h2><?php echo elgg_echo('metadata'); ?></h2> <?php foreach ($metadata as $m) { @@ -46,7 +49,7 @@ $exportable_values = $entity->getExportableValues(); <?php } ?> <?php if ($annotations) { ?> -<div id="annotations" class="margin-top"> +<div id="annotations" class="mtm"> <h2><?php echo elgg_echo('annotations'); ?></h2> <?php foreach ($annotations as $a) { @@ -61,7 +64,7 @@ $exportable_values = $entity->getExportableValues(); <?php } ?> <?php if ($relationships) { ?> -<div id="relationship" class="margin-top"> +<div id="relationship" class="mtm"> <h2><?php echo elgg_echo('relationships'); ?></h2> <?php foreach ($relationships as $r) { |
