blob: f3f4a9b14758620e420a3463fb8d1ae7e1d20122 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
/**
* Create friend river view
*/
$subject = $vars['item']->getSubjectEntity();
$object = $vars['item']->getObjectEntity();
$subject_icon = elgg_view_entity_icon($subject, 'tiny');
$object_icon = elgg_view_entity_icon($object, 'tiny');
echo elgg_view('river/item', array(
'item' => $vars['item'],
'attachments' => $subject_icon . elgg_view_icon('arrow-right', true) . $object_icon,
));
|