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

$statement = $vars['statement'];
$performed_by = $statement->getSubject();
$object = $statement->getObject();

$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
$string = sprintf(elgg_echo("pages:river:posted"),$url) . " ";
$string .= "<a href=\"" . $object->getURL() . "\">" . elgg_echo("pages:river:annotate:create") . "</a> " . $object->title;
//$string .= "<div class=\"river_content\">" . $object->title . "</div>";

echo $string;