aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/annotation/generic_comment/create.php
blob: 7d586450d730182e04834c1d6c01103f091c3f7c (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/elements/layout', array(
	'item' => $vars['item'],
	'message' => elgg_get_excerpt($comment->value),
));