aboutsummaryrefslogtreecommitdiff
path: root/views/default/annotation/default.php
blob: b7ae2146e955644fbbd4633a9d6e5b1e8d6b022e (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php
/**
 * Elgg default annotation view
 */

$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);