aboutsummaryrefslogtreecommitdiff
path: root/views/default/annotation/default.php
blob: dc13373623c6130685ccebfaba065a752ef6abf2 (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("profile/icon", array('entity' => $owner, 'size' => 'tiny'));

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

echo elgg_view_image_block($icon, $info);