aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/relationship/friend/create.php
blob: a191e7b1e0cd5b38cb6da9ac26732a31918eee98 (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') . $object_icon,
));