aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/likes/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/likes/start.php b/mod/likes/start.php
index ef46c9ef2..435e7a3ab 100644
--- a/mod/likes/start.php
+++ b/mod/likes/start.php
@@ -56,7 +56,7 @@ function likes_river_menu_setup($hook, $type, $return, $params) {
$options = array(
'name' => 'like',
'href' => $url,
- 'text' => elgg_echo('likes:likethis'),
+ 'text' => elgg_view('likes/display', array('entity' => $object)),
'is_action' => true,
'priority' => 100,
);
@@ -71,7 +71,7 @@ function likes_river_menu_setup($hook, $type, $return, $params) {
$options = array(
'name' => 'like',
'href' => $url,
- 'text' => elgg_echo('likes:remove'),
+ 'text' => elgg_view('likes/display', array('entity' => $object)),
'is_action' => true,
'priority' => 100,
);