aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views/default/object/blog.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-11 23:04:28 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-11 23:04:28 +0000
commitaf8c4ee23d36cda093f956666929191fa16713e8 (patch)
tree0f3d14357e9be7b4815e14a70b3220b4c1d21597 /mod/blog/views/default/object/blog.php
parent8fb8deb6c9d937cd862964bd5e30973c0a56ab2b (diff)
downloadelgg-af8c4ee23d36cda093f956666929191fa16713e8.tar.gz
elgg-af8c4ee23d36cda093f956666929191fa16713e8.tar.bz2
Updated Likes on Blog and Videolist single entity pages
git-svn-id: http://code.elgg.org/elgg/trunk@5685 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views/default/object/blog.php')
-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;