* @copyright Curverider Ltd 2008-2009
* @link http://elgg.com/
*
* @uses $vars['entity'] The posted comment to view
*/
?>
owner_guid)) {
//display the user icon
echo " " . elgg_view("profile/icon",array('entity' => $post_owner, 'size' => 'small')) . " ";
//display the user name
echo "" . $post_owner->name . " ";
} else {
echo " ";
}
//display the date of the comment
echo "" . friendly_time($vars['entity']->time_created) . " ";
?>
|
$vars['entity']->value)));
?>
|
owner_guid)) {
?>
";
//get the edit form and details
$submit_input = elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('save')));
$text_textarea = elgg_view('input/longtext', array('internalname' => 'postComment'.$vars['entity']->id, 'value' => $vars['entity']->value));
$post = elgg_view('input/hidden', array('internalname' => 'post', 'value' => $vars['entity']->id));
$topic = elgg_view('input/hidden', array('internalname' => 'topic', 'value' => get_input('topic')));
$group = elgg_view('input/hidden', array('internalname' => 'group', 'value' => get_input('group_guid')));
$form_body = <<
EOT;
?>
"{$vars['url']}action/groups/editpost", 'body' => $form_body, 'internalid' => 'editforumpostForm'));
?>