diff options
Diffstat (limited to 'mod/tabbed_profile/views/default/profile/tabs/friends.php')
-rwxr-xr-x | mod/tabbed_profile/views/default/profile/tabs/friends.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mod/tabbed_profile/views/default/profile/tabs/friends.php b/mod/tabbed_profile/views/default/profile/tabs/friends.php new file mode 100755 index 000000000..9195629e5 --- /dev/null +++ b/mod/tabbed_profile/views/default/profile/tabs/friends.php @@ -0,0 +1,12 @@ +<?php +/** + * Profile friends + **/ + +$friends = list_entities_from_relationship('friend', $vars['entity']->getGUID(), FALSE, 'user', '', 0, 10, FALSE); + +if(!$friends) { + $friends = '<p>' . elgg_echo('profile:no_friends') . '</p>'; +} + +echo $friends;
\ No newline at end of file |