blob: 6beaf2d7d95d1adc68152692dde2abf8e40044d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)),
));
|