aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/elements/body.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river/elements/body.php')
-rw-r--r--views/default/river/elements/body.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/default/river/elements/body.php b/views/default/river/elements/body.php
index 01db3fbea..f9ecbc03c 100644
--- a/views/default/river/elements/body.php
+++ b/views/default/river/elements/body.php
@@ -15,7 +15,9 @@ $params = array(
);
$subject_link = elgg_view('output/url', $params);
$timestamp = elgg_get_friendly_time($item->getPostedTime());
-$header = "$subject_link <span class=\"elgg-river-timestamp\">$timestamp</span>";
+
+$header = elgg_view_menu('river', array('item' => $item, 'sort_by' => 'priority'));
+$header .= "$subject_link <span class=\"elgg-river-timestamp\">$timestamp</span>";
// body
$body = elgg_view($item->getView(), array('item' => $item));
@@ -27,5 +29,5 @@ echo elgg_view('page/components/module', array(
'header' => $header,
'body' => $body,
'footer' => $footer,
- 'show_inner' => false,
+ 'class' => 'mbn',
)); \ No newline at end of file