From 1d59e5fc4bcc10151831456436019aef90de2bd3 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 6 Mar 2011 01:39:23 +0000 Subject: Refs #2679 can comment on discussion forums in river now git-svn-id: http://code.elgg.org/elgg/trunk@8610 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/river.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/lib/river.php') diff --git a/engine/lib/river.php b/engine/lib/river.php index 656b496b5..c934e9932 100644 --- a/engine/lib/river.php +++ b/engine/lib/river.php @@ -521,6 +521,7 @@ function elgg_river_add_menu_items($hook, $type, $return, $params) { 'href' => "#comments-add-$object->guid", 'text' => elgg_echo('generic_comments:text'), 'class' => "elgg-toggler", + 'priority' => 50, ); $return[] = ElggMenuItem::factory($options); } @@ -534,6 +535,7 @@ function elgg_river_add_menu_items($hook, $type, $return, $params) { 'href' => $url, 'text' => elgg_echo('likes:likethis'), 'is_action' => true, + 'priority' => 100, ); } else { $likes = elgg_get_annotations(array( @@ -547,6 +549,7 @@ function elgg_river_add_menu_items($hook, $type, $return, $params) { 'href' => $url, 'text' => elgg_echo('likes:remove'), 'is_action' => true, + 'priority' => 100, ); } $return[] = ElggMenuItem::factory($options); -- cgit v1.2.3