aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 13:56:40 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 13:56:40 +0000
commit1d023ffb53e1383d2aeb5a44fa76daae959bbe8d (patch)
tree20dfc4c0e92908ad6906ca0be04d403e7fbaab27 /views/default
parentc7d73bc6db9d52a918f0d4ee82d802032f14729c (diff)
downloadelgg-1d023ffb53e1383d2aeb5a44fa76daae959bbe8d.tar.gz
elgg-1d023ffb53e1383d2aeb5a44fa76daae959bbe8d.tar.bz2
new annotations activity view
git-svn-id: https://code.elgg.org/elgg/trunk@2743 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/annotation/annotate.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/annotation/annotate.php b/views/default/annotation/annotate.php
new file mode 100644
index 000000000..78059254b
--- /dev/null
+++ b/views/default/annotation/annotate.php
@@ -0,0 +1,14 @@
+<?php
+
+ $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
+ $object = get_entity($vars['item']->object_guid);
+ $url = $object->getURL();
+ $subtype = get_subtype_from_id($object->subtype);
+
+ $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
+ $string = sprintf(elgg_echo("blog:river:posted"),$url) . " ";
+ $string .= elgg_echo("{$subtype}:river:annotate") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";
+
+?>
+
+<?php echo $string; ?> \ No newline at end of file