aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/river/relationship/member/create.php
blob: 3ba191676f261534b7272b3d6283c4dd328e52a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

	$performed_by = get_entity($vars['item']->subject_guid);
	$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:member", array($url)) . " ";
	$string .= " <a href=\"" . $object->getURL() . "\">" . $object->name . "</a>";
	$string .= " <span class='entity_subtext'>". elgg_view_friendly_time($vars['item']->posted);
	$string .= "</span>";
?>

<?php echo $string; ?>