From c3f5333f8b02937d52031ff4d136737903f85919 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 7 Jun 2010 14:39:10 +0000 Subject: creating a new group now displays in the activity stream. git-svn-id: http://code.elgg.org/elgg/trunk@6381 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/river/group/create.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'mod/groups/views/default/river') diff --git a/mod/groups/views/default/river/group/create.php b/mod/groups/views/default/river/group/create.php index e96bb9b34..95a9c38d6 100644 --- a/mod/groups/views/default/river/group/create.php +++ b/mod/groups/views/default/river/group/create.php @@ -5,9 +5,11 @@ $objecturl = $object->getURL(); $url = "getURL()}\">{$performed_by->name}"; - $string = sprintf(elgg_echo("groups:river:member"),$url) . " "; + $string = sprintf(elgg_echo("groups:river:created"),$url) . " "; $string .= " getURL() . "\">" . $object->name . ""; - -?> + $string .= " ". friendly_time($object->time_created) ." "; + if (isloggedin()) { + $string .= elgg_view('likes/forms/link', array('entity' => $object)); + } - \ No newline at end of file +echo $string; \ No newline at end of file -- cgit v1.2.3