blob: ee58834357e5938328108a18b881ead2b08354ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
/**
* Inline comment form body
*
* @uses $vars['entity']
*/
if (isset($vars['entity']) && isloggedin()) {
echo elgg_view('input/text', array('internalname' => 'generic_comment'));
echo elgg_view('input/hidden', array(
'internalname' => 'entity_guid',
'value' => $vars['entity']->getGUID()
));
echo elgg_view('input/submit', array('value' => elgg_echo('comment')));
}
|