$item, 'sort_by' => 'priority', 'class' => 'elgg-menu-hz', )); // river item header $timestamp = elgg_get_friendly_time($item->getPostedTime()); $summary = elgg_extract('summary', $vars, elgg_view('river/elements/summary', array('item' => $vars['item']))); if ($summary === false) { $subject = $item->getSubjectEntity(); $summary = elgg_view('output/url', array( 'href' => $subject->getURL(), 'text' => $subject->name, 'class' => 'elgg-river-subject', )); } $message = elgg_extract('message', $vars, false); if ($message !== false) { $message = "
"; } $attachments = elgg_extract('attachments', $vars, false); if ($attachments !== false) { $attachments = " "; } $responses = elgg_extract('responses', $vars, false); if ($responses === false) { $responses = elgg_view('river/elements/responses', $vars); } if ($responses) { $responses = "