diff options
Diffstat (limited to 'views/default/river/group')
-rw-r--r-- | views/default/river/group/create.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/views/default/river/group/create.php b/views/default/river/group/create.php new file mode 100644 index 000000000..6beaf2d7d --- /dev/null +++ b/views/default/river/group/create.php @@ -0,0 +1,25 @@ +<?php +/** + * Group creation river view. + */ + +$object = $vars['item']->getObjectEntity(); +$subject = $vars['item']->getSubjectEntity(); + +$subject_link = elgg_view('output/url', array( + 'href' => $subject->getURL(), + 'text' => $subject->name, + 'class' => 'elgg-actor-name', + 'encode_text' => true, +)); + +$group_link = elgg_view('output/url', array( + 'href' => $object->getURL(), + 'text' => $object->name, + 'encode_text' => true, +)); + +echo elgg_view('river/item', array( + 'item' => $vars['item'], + 'attachments' => elgg_view('group/default/river', array('entity' => $object)), +));
\ No newline at end of file |