subject_guid); // $statement->getSubject(); $object = get_entity($vars['item']->object_guid); $thumbnail = $object->thumbnail; $is_group = get_entity($object->container_guid); $url = "getURL()}\">{$performed_by->name}"; $title = $object->title; if(!$title) { $title = "untitled"; } $string = sprintf(elgg_echo("videolist:river:created"),$url) . " "; $string .= elgg_echo("videolist:river:item") . " titled getURL() . "\">" . $title . ""; //if the video was added to a group, show that unless displayed on the group profile if(($is_group instanceof ElggGroup) && (get_context() != 'groups')){ $string .= " " . elgg_echo('videolist:ingroup') . " " . $is_group->name; } $string .= "" . friendly_time($object->time_created); if (isloggedin()){ $string .= "Comment"; $string .= elgg_view('likes/forms/link', array('entity' => $object)); } $string .= ""; $string .= "