diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-06 01:39:23 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-06 01:39:23 +0000 |
commit | 1d59e5fc4bcc10151831456436019aef90de2bd3 (patch) | |
tree | 096ab8fc2387d57b49a9c8bd65ac2581da068d7c /engine/lib | |
parent | 8ca2f72d09e99c372ea21a4fe4112da6c4a1312c (diff) | |
download | elgg-1d59e5fc4bcc10151831456436019aef90de2bd3.tar.gz elgg-1d59e5fc4bcc10151831456436019aef90de2bd3.tar.bz2 |
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
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/river.php | 3 |
1 files changed, 3 insertions, 0 deletions
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); |