aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 11:14:37 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 11:14:37 +0000
commitdddc7cf8451b106df608354fa01b6cfe25373b13 (patch)
treec642921f96adb48b07117dc71098f6722865c897 /views
parentd81cca9ea7e1af0eb3a82f7a8015750b273bebb5 (diff)
downloadelgg-dddc7cf8451b106df608354fa01b6cfe25373b13.tar.gz
elgg-dddc7cf8451b106df608354fa01b6cfe25373b13.tar.bz2
Refs #2626 - adds default annotation view to trunk
git-svn-id: http://code.elgg.org/elgg/trunk@7275 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-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);