aboutsummaryrefslogtreecommitdiff
path: root/views/default/annotation/annotate.php
blob: 78059254b77be35d1e4646479d27ad851192215e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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; ?>