aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/river/object/page/update.php
blob: 8ae506a515d7baaf8a62cab6df1a0c1fa64b4943 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * Page update river view
 *
 * @package ElggPages
 */

$performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
$object = get_entity($vars['item']->object_guid);
$url = $object->getURL();

$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
$string = elgg_echo("pages:river:updated", array($url)) . " ";
$string .= elgg_echo("pages:river:update") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";

echo $string;