* @copyright Curverider Ltd 2008-2010
* @link http://elgg.com/
*
* @uses $vars['entity'] The post
*/
$topic = get_input('topic');
$group_guid = get_input('group_guid');
?>
owner_guid)) {
// display the user icon
echo "
" . 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'], page_owner_entity()->owner_guid)) {
echo "
";
}
echo "
" . $post_owner->name . "
";
} else {
echo "
";
echo "
" . elgg_echo('profile:deleteduser') . "
";
}
//display the date of the comment
echo "
" . 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 "
";
?>