diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-04 12:05:42 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-04 12:05:42 +0000 |
commit | d672c9ed0d507c854e8bd82940e81e90a3d4b186 (patch) | |
tree | b7ee569cb2314e29a3c32479c5fabee51719f35e /views/default/river/elements/body.php | |
parent | 3791cda0bb2f35a1f8d57b90600efbff15bfec6d (diff) | |
download | elgg-d672c9ed0d507c854e8bd82940e81e90a3d4b186.tar.gz elgg-d672c9ed0d507c854e8bd82940e81e90a3d4b186.tar.bz2 |
Refs #3073 first version of horizontal river menu. css still needs work for likes and the comment text bubble needs to be darkened
git-svn-id: http://code.elgg.org/elgg/trunk@8935 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/river/elements/body.php')
-rw-r--r-- | views/default/river/elements/body.php | 6 |
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 |