blob: 4774e7a85488def2c80ed7baf6008dadb0522317 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
$performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
$object = get_entity($vars['item']->object_guid);
$objecturl = $object->getURL();
$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
$string = elgg_echo("groups:river:create", array($url)) . " ";
$string .= " <a href=\"" . $object->getURL() . "\">" . $object->name . "</a>";
$string .= " <span class='entity-subtext'>". elgg_view_friendly_time($object->time_created);
if (isloggedin()) {
$string .= elgg_view('likes/forms/link', array('entity' => $object));
}
$string .= "</span>";
echo $string;
|