aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/river/object/page/update.php
blob: 82b38f315b3f3fa5c9352a70ad4b9bf9ec3c1a0f (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 = sprintf(elgg_echo("pages:river:updated"),$url) . " ";
$string .= elgg_echo("pages:river:update") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";

echo $string;