aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/annotation/generic_comment/create.php
blob: d3db68e41bc86972f7901c72327484c34806c11f (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php
/**
 * Post comment river view
 */
$object = $vars['item']->getObjectEntity();
$comment = $vars['item']->getAnnotation();

echo elgg_view('river/item', array(
	'item' => $vars['item'],
	'message' => elgg_get_excerpt($comment->value),
));