aboutsummaryrefslogtreecommitdiff
path: root/views/default/likes
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/likes')
-rw-r--r--views/default/likes/forms/edit.php10
-rw-r--r--views/default/likes/forms/link.php2
2 files changed, 6 insertions, 6 deletions
diff --git a/views/default/likes/forms/edit.php b/views/default/likes/forms/edit.php
index 96092d118..b4ced1453 100644
--- a/views/default/likes/forms/edit.php
+++ b/views/default/likes/forms/edit.php
@@ -11,11 +11,11 @@ if (isset($vars['entity']) && isloggedin()) {
$guid = $vars['entity']->getGuid();
$url = elgg_add_action_tokens_to_url(elgg_get_site_url() . "action/likes/add?guid={$guid}");
- echo "<span class='likes_list_holder'>";
+ echo "<span class='likes-list-holder'>";
//check to see if the user has already liked
if (!elgg_annotation_exists($guid, 'likes') ) {
- echo "<a class='user_like link' title='".elgg_echo('likes:likethis')."' href=\"{$url}\">" . elgg_echo('likes:likethis') . "</a>";
- $likes_classname = "not_liked";
+ echo "<a class='user-like link' title='".elgg_echo('likes:likethis')."' href=\"{$url}\">" . elgg_echo('likes:likethis') . "</a>";
+ $likes_classname = "not-liked";
$likes_titletag = "";
} else {
$likes_titletag = "title='".elgg_echo('likes:remove')."'";
@@ -29,10 +29,10 @@ if (isset($vars['entity']) && isloggedin()) {
$user_string = elgg_echo('likes:userslikedthis');
}
- echo "<a class='likes_list_button link {$likes_classname}' {$likes_titletag}>" . elgg_count_likes($vars['entity']) . " " . $user_string . "</a>";
+ echo "<a class='likes-list_button link {$likes_classname}' {$likes_titletag}>" . elgg_count_likes($vars['entity']) . " " . $user_string . "</a>";
//show the users who liked the object
- echo "<div class='likes_list hidden clearfix'>";
+ echo "<div class='likes-list hidden clearfix'>";
echo list_annotations($vars['entity']->getGUID(), 'likes', 99);
echo "</div>";
}
diff --git a/views/default/likes/forms/link.php b/views/default/likes/forms/link.php
index 4e52224e2..decb4aa7f 100644
--- a/views/default/likes/forms/link.php
+++ b/views/default/likes/forms/link.php
@@ -12,6 +12,6 @@ if (isset($vars['entity']) && isloggedin()) {
$url = elgg_add_action_tokens_to_url(elgg_get_site_url() . "action/likes/add?guid={$guid}");
//check to see if the user has already liked
if (!elgg_annotation_exists($guid, 'likes') ) {
- echo "<span class='river_link_divider'> | </span><a class='river_user_like_button link' href=\"{$url}\">" . elgg_echo('likes:likethis') . "</a>";
+ echo "<span class='river_link_divider'> | </span><a class='river_user-like_button link' href=\"{$url}\">" . elgg_echo('likes:likethis') . "</a>";
}
} \ No newline at end of file