entity_guid); $commenter = get_user($comment->owner_guid); if (!$entity || !$commenter) { return true; } $friendlytime = elgg_view_friendly_time($comment->time_created); $commenter_icon = elgg_view("profile/icon", array('entity' => $commenter, 'size' => 'tiny')); $commenter_link = "getURL()}\">$commenter->name"; $entity_title = $entity->title ? $entity->title : elgg_echo('untitled'); $entity_link = "getURL()}\">$entity_title"; if ($full_view) { } else { // brief view //@todo need link to actual comment! $on = elgg_echo('on'); $body = <<$commenter_link $on $entity_link ($friendlytime) HTML; echo elgg_view_media($commenter_icon, $body); // @todo remove this once the full view has been rewritten return true; } // @todo - below needs to be rewritten like the brief view $owner = get_user($vars['annotation']->owner_guid); ?>
name; ?> time_created); ?>