aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/river/relationship/member/create.php
blob: a568920cca02311cf1bc771de74c5a7ad6c1a0d3 (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 = sprintf(elgg_echo("groups:river:member"),$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; ?>