aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/annotation/default.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/default/annotation/default.php b/views/default/annotation/default.php
new file mode 100644
index 000000000..13713e8ad
--- /dev/null
+++ b/views/default/annotation/default.php
@@ -0,0 +1,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_listing($icon, $info);