aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-22 11:01:02 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-22 11:01:02 +0000
commita6e8eb522323fa2e3f2c1fd6e58a3eec9857db63 (patch)
treee6e5647c75790a1f82840cc529be5947367f0a30 /mod/groups/views/default
parent310491e9e83f0ba6309c0d87928e38a79a0d1f87 (diff)
downloadelgg-a6e8eb522323fa2e3f2c1fd6e58a3eec9857db63.tar.gz
elgg-a6e8eb522323fa2e3f2c1fd6e58a3eec9857db63.tar.bz2
new join group river view added
git-svn-id: https://code.elgg.org/elgg/trunk@2876 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r--mod/groups/views/default/river/group/create.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/groups/views/default/river/group/create.php b/mod/groups/views/default/river/group/create.php
new file mode 100644
index 000000000..48c69f99f
--- /dev/null
+++ b/mod/groups/views/default/river/group/create.php
@@ -0,0 +1,13 @@
+<?php
+
+ $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
+ $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>";
+
+?>
+
+<?php echo $string; ?> \ No newline at end of file