diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-07 14:39:10 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-07 14:39:10 +0000 |
commit | c3f5333f8b02937d52031ff4d136737903f85919 (patch) | |
tree | c1d3e1ed9519324349b8671847997b9b14ea0d80 /mod/groups/views/default/river | |
parent | bd022ba6ff94729d6aec18f7fd40f913f51f84f9 (diff) | |
download | elgg-c3f5333f8b02937d52031ff4d136737903f85919.tar.gz elgg-c3f5333f8b02937d52031ff4d136737903f85919.tar.bz2 |
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
Diffstat (limited to 'mod/groups/views/default/river')
-rw-r--r-- | mod/groups/views/default/river/group/create.php | 10 |
1 files changed, 6 insertions, 4 deletions
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 = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>"; - $string = sprintf(elgg_echo("groups:river:member"),$url) . " "; + $string = sprintf(elgg_echo("groups:river:created"),$url) . " "; $string .= " <a href=\"" . $object->getURL() . "\">" . $object->name . "</a>"; - -?> + $string .= " <span class='entity_subtext'>". friendly_time($object->time_created) ."</span> "; + if (isloggedin()) { + $string .= elgg_view('likes/forms/link', array('entity' => $object)); + } -<?php echo $string; ?>
\ No newline at end of file +echo $string;
\ No newline at end of file |