aboutsummaryrefslogtreecommitdiff
path: root/views/default/likes
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-12 08:49:34 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-12 08:49:34 +0000
commita1ad344e492f2deb1c738a31deb72d54e0fe223a (patch)
treefa756717f7f79c330e18c38f3875249bc75e02df /views/default/likes
parentf6f63110c3cffb14043960fd4bbc9f6cba62fa7e (diff)
downloadelgg-a1ad344e492f2deb1c738a31deb72d54e0fe223a.tar.gz
elgg-a1ad344e492f2deb1c738a31deb72d54e0fe223a.tar.bz2
Likes updated for plugins entity list display (just icon remaining to add)
git-svn-id: http://code.elgg.org/elgg/trunk@5693 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/likes')
-rw-r--r--views/default/likes/forms/edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/likes/forms/edit.php b/views/default/likes/forms/edit.php
index 329479435..1e9cbd02c 100644
--- a/views/default/likes/forms/edit.php
+++ b/views/default/likes/forms/edit.php
@@ -14,7 +14,7 @@ if (isset($vars['entity']) && isloggedin()) {
$url = elgg_add_action_tokens_to_url($vars['url'] . "action/likes/add?guid={$guid}");
//check to see if the user has already liked
if (!elgg_annotation_exists($guid, 'likes') ) {
- echo "<a class='user_like link' href=\"{$url}\">" . elgg_echo('likes:likethis') . "</a>";
+ echo "<span class='user_like_holder'><a class='user_like link' href=\"{$url}\">" . elgg_echo('likes:likethis') . "</a></span>";
}
//display the number of likes
$numoflikes = elgg_count_likes($vars['entity']);
@@ -25,12 +25,12 @@ if (isset($vars['entity']) && isloggedin()) {
$user_string = elgg_echo('likes:userslikedthis');
}
- echo "<div class='likes_list_holder'><a class='likes_list_button link'>" . elgg_count_likes($vars['entity']) . " " . $user_string . "</a>";
+ echo "<span class='likes_list_holder'><a class='likes_list_button link'>+" . elgg_count_likes($vars['entity']) . " " . $user_string . "</a>";
//show the users who liked the object
echo "<div class='likes_list hidden clearfloat'>";
echo list_annotations($vars['entity']->getGUID(), 'likes', 99);
- echo "</div></div>";
+ echo "</div></span>";
}
}