" . elgg_view("profile/icon",array('entity' => $post_owner, 'size' => 'tiny')) . "
";
// display the user name
echo "";
// if comment owner, group owner, or site admin - display edit and delete options
if (groups_can_edit_discussion($vars['entity'], elgg_get_page_owner()->owner_guid)) {
echo "
";
}
echo "
" . $post_owner->name . "
";
} else {
echo "
";
echo "
" . elgg_echo('profile:deleteduser') . "
";
}
//display the date of the comment
echo "
" . elgg_view_friendly_time($vars['entity']->time_created) . "
";
echo "
"; // close entity-listing-info
echo "
"; // close entity-listing.topic
//display the actual message posted
echo "";
echo parse_urls(elgg_view("output/longtext",array("value" => $vars['entity']->description)));
echo "
";
?>