diff options
Diffstat (limited to 'views/default/likes/forms/display.php')
-rw-r--r-- | views/default/likes/forms/display.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/views/default/likes/forms/display.php b/views/default/likes/forms/display.php deleted file mode 100644 index 36e2cddc2..000000000 --- a/views/default/likes/forms/display.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php -/** - * Elgg likes - display users liked link/text - * - * @package Elgg - * - * @uses $vars['entity'] - */ - -if (isset($vars['entity']) && isloggedin()) { - - //display the number of likes - $numoflikes = elgg_count_likes($vars['entity']); - if ($numoflikes != 0) { - if ($numoflikes == 1) { - $user_string = elgg_echo('likes:userlikedthis'); - } else { - $user_string = elgg_echo('likes:userslikedthis'); - } - - echo "<a class='river_more_comments off likes_user_list_button link'>" . elgg_count_likes($vars['entity']) . " " . $user_string . "</a>"; - } -}
\ No newline at end of file |