aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/sharing
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-08-22 19:04:55 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-08-22 19:04:55 +0000
commitf9ee6f1429f800c3eed3c0ef59d98219be32fba8 (patch)
tree5ddfd5c1cd961465f5c46d4ed07d765275ddee6f /mod/groups/views/default/sharing
parent5a396908110b8d9ae358224f15bdbcb9a6c6dfab (diff)
downloadelgg-f9ee6f1429f800c3eed3c0ef59d98219be32fba8.tar.gz
elgg-f9ee6f1429f800c3eed3c0ef59d98219be32fba8.tar.bz2
Merged r6614:6617 from 1.7 branch into trunk
git-svn-id: http://code.elgg.org/elgg/trunk@6845 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/sharing')
-rw-r--r--mod/groups/views/default/sharing/invite.php42
1 files changed, 0 insertions, 42 deletions
diff --git a/mod/groups/views/default/sharing/invite.php b/mod/groups/views/default/sharing/invite.php
deleted file mode 100644
index bd8e7c821..000000000
--- a/mod/groups/views/default/sharing/invite.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
- /**
- * Elgg groups plugin
- *
- * @package ElggGroups
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008-2010
- * @link http://elgg.com/
- */
-
- $owner = $vars['owner'];
- $group = $vars['group'];
-
- $options = array('relationship' => 'friend', 'relationship_guid' => $owner->getGUID(), 'type' => 'user');
- if ($friends = elgg_get_entities_from_relationship($options)) {
-
- foreach($friends as $friend) {
-
- if (!$group->isMember($friend))
- {
- $label = elgg_view("profile/icon",array('entity' => $friend, 'size' => 'tiny'));
- $label .= "{$friend->name}";
- $options[$label] = $friend->getGUID();
- }
- }
-
- if ($options)
- {
- echo elgg_view('input/checkboxes',array(
-
- 'internalname' => 'user_guid',
- 'options' => $options,
-
- ));
- }
- else
- {
- echo elgg_echo('groups:nofriends');
- }
- }
-?> \ No newline at end of file