From 0b3d3ea0432112d244a13c053240e09f185b8d28 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 12 Aug 2008 15:51:42 +0000 Subject: Group invites now uses the friends picker. git-svn-id: https://code.elgg.org/elgg/trunk@1858 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/forms/groups/invite.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod/groups') diff --git a/mod/groups/views/default/forms/groups/invite.php b/mod/groups/views/default/forms/groups/invite.php index c1b13761d..d1d3c09b1 100644 --- a/mod/groups/views/default/forms/groups/invite.php +++ b/mod/groups/views/default/forms/groups/invite.php @@ -19,8 +19,11 @@
$shares, 'owner' => $owner, 'group' => $group)); + + if ($friends = get_entities_from_relationship('friend',$owner->getGUID(),false,'user','')) { + echo elgg_view('friends/picker',array('entities' => $friends, 'internalname' => 'user_guid')); + } + // echo elgg_view('sharing/invite',array('shares' => $shares, 'owner' => $owner, 'group' => $group)); ?> -- cgit v1.2.3