$item, 'sort_by' => 'priority', )); // river item header if($item->action_type != 'comment') { $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_view('river/elements/responses', $vars); if ($responses) { $responses = "