aboutsummaryrefslogtreecommitdiff
path: root/views/default/annotation/default.php
blob: 30e1cef682f39c8a18f4644bed0741c4244e138f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
/**
 * Elgg default annotation view
 *
 * @uses $vars['annotation']
 */

$owner = get_user($vars['annotation']->owner_guid);
$icon = elgg_view_entity_icon($owner, 'tiny');

$info = elgg_view("output/longtext", array("value" => $vars['annotation']->value));

echo elgg_view_image_block($icon, $info);