aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/blog/views/default/object/blog.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index 4b72cdc47..9d5a0f09e 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -57,7 +57,9 @@ if ($blog->canEdit()) {
}
// include a view for plugins to extend
- $edit = elgg_view("blogs/options", array("object_type" => 'blog')) .$edit;
+ $edit = elgg_view("blogs/options", array("object_type" => 'blog')) .
+ elgg_view_likes($blog) . // include likes
+ $edit;
if ($full) {
if ($blog->comments_on != 'Off') {
@@ -65,8 +67,6 @@ if ($full) {
} else {
$comments = '';
}
- $like = elgg_view_likes($blog);
- $owner_title = sprintf(elgg_echo('blog:title:user_blogs'), $owner->name);
echo <<<___END
<div class="blogpost clearfloat">
@@ -87,7 +87,6 @@ echo <<<___END
<span class="body">$body</span>
</div>
</div>
-$like
$comments
___END;