subject_guid); // $statement->getSubject(); $object = get_entity($vars['item']->object_guid); $url = $object->getURL(); $subtype = get_subtype_from_id($object->subtype); $url = "getURL()}\">{$performed_by->name}"; // Override for koolielu types if (in_array($subtype, array('disctopic', 'job_offering', 'job_wanted_ad', 'course', 'tool', 'waramuresource', 'collection', 'infopage', 'news', 'externalgroup'))) { $string = $url . " "; /*translation:posted a comment on*/ $string .= elgg_echo("koolielu:comment_river_annotate") . " getURL() . "\">" . $object->title . ""; } else { $string = sprintf(elgg_echo("river:posted:generic"),$url) . " "; $string .= elgg_echo("{$subtype}:river:annotate") . " getURL() . "\">" . $object->title . ""; } ?>