$foo) { $subsbig[$method] = elgg_get_entities_from_relationship(array( 'relationship' => 'notify' . $method, 'relationship_guid' => $user->guid, 'types' => 'group', 'limit' => 99999, )); $tmparray = array(); if ($subsbig[$method]) { foreach($subsbig[$method] as $tmpent) { $tmparray[] = $tmpent->guid; } } $subsbig[$method] = $tmparray; } ?>
$foo) { if ($i > 0) { echo ""; } ?> $foo) { if (in_array($group->guid,$subsbig[$method])) { $checked[$method] = 'checked="checked"'; } else { $checked[$method] = ''; } if ($i > 0) { $fields .= ""; } $fields .= <<< END END; $i++; } ?>
     
 
name; ?>
 
'; echo elgg_view('input/hidden', array('name' => 'guid', 'value' => $user->guid)); echo elgg_view('input/submit', array('value' => elgg_echo('save'))); echo '
'; ?>