diff options
Diffstat (limited to 'views/default/annotation/annotatelike.php')
-rw-r--r-- | views/default/annotation/annotatelike.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/views/default/annotation/annotatelike.php b/views/default/annotation/annotatelike.php new file mode 100644 index 000000000..7c7b1887a --- /dev/null +++ b/views/default/annotation/annotatelike.php @@ -0,0 +1,11 @@ +<?php
+
+$performed_by = get_entity($vars['item']->subject_guid);
+$object = get_entity($vars['item']->object_guid);
+$url = $object->getURL();
+$title = $object->title;
+
+$string = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a> ";
+$string .= elgg_echo("likes:river:annotate") . " <a href=\"{$object->getURL()}\">" . $title . "</a> " . friendly_time($object->time_created);
+
+echo $string;
\ No newline at end of file |