aboutsummaryrefslogtreecommitdiff
path: root/views/default/annotation/annotatelike.php
blob: 08bac55ae6e3aa9b99d9cb98361d351db9a79123 (plain)
1
2
3
4
5
6
7
8
9
10
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;