* @link http://elgg.com/ * * @uses $vars['entity'] */ if (isset($vars['entity']) && isloggedin()) { $form_body = "
".elgg_echo("generic_comments:text")."" . elgg_view('input/longtext',array('internalname' => 'generic_comment')) . "
" . elgg_view('input/longtext',array('internalname' => 'generic_comment')) . "
"; $form_body .= elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID())); $form_body .= elgg_view('input/submit', array('value' => elgg_echo("generic_comments:post"))) . "