aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/blog/views/default/object/blog.php14
1 files changed, 3 insertions, 11 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index 75df11b62..08e174063 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -92,13 +92,9 @@ if ($full) {
</div>
HTML;
- $params = array(
- 'icon' => $owner_icon,
- 'body' => $info,
- );
- $blog_info = elgg_view('layout_elements/media', $params);
+ $blog_info = elgg_view_media($owner_icon, $info);
-echo <<<HTML
+ echo <<<HTML
$header
$blog_info
<div class="blog_post elgg-content">
@@ -124,9 +120,5 @@ HTML;
</div>
HTML;
- $params = array(
- 'icon' => $owner_icon,
- 'body' => $body,
- );
- echo elgg_view('layout_elements/media', $params);
+ echo elgg_view_media($owner_icon, $body);
}