$item, 'sort_by' => 'priority', 'class' => 'elgg-menu-hz', )); // river item header $timestamp = elgg_view_friendly_time($item->getTimePosted()); $summary = elgg_extract('summary', $vars); if ($summary === null) { $summary = 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', 'is_trusted' => true, )); } $message = elgg_extract('message', $vars); if ($message !== null) { $message = "
"; } $attachments = elgg_extract('attachments', $vars); if ($attachments !== null) { $attachments = " "; } $responses = elgg_view('river/elements/responses', $vars); if ($responses) { $responses = "