aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default/object
diff options
context:
space:
mode:
Diffstat (limited to 'mod/embed/views/default/object')
-rw-r--r--mod/embed/views/default/object/file/embedlist.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/mod/embed/views/default/object/file/embedlist.php b/mod/embed/views/default/object/file/embedlist.php
index 724032c38..5a3163e4c 100644
--- a/mod/embed/views/default/object/file/embedlist.php
+++ b/mod/embed/views/default/object/file/embedlist.php
@@ -7,12 +7,5 @@
$icon = "<a href=\"{$file->getURL()}\">" . elgg_view("file/icon", array("mimetype" => $file->mimetype, 'thumbnail' => $file->thumbnail, 'file_guid' => $file->guid, 'size' => 'small')) . "</a>";
?>
<div id="embed_entity_<?php echo $file->guid; ?>">
- <div class="entity-listing clearfix">
- <div class="entity-listing-icon">
- <?php echo $icon; ?>
- </div>
- <div class="entity-listing-info">
- <?php echo $info; ?>
- </div>
- </div>
+ <?php echo elgg_view_image_block($icon, $info); ?>
</div>