name,0,1)); if ($letter >= "0" && $letter <= "9") { $letter = "0"; } if (!isset($users[$letter])) { $users[$letter] = array(); } $users[$letter][$user->name] = $user; } ?>
" . $user->name . "
"; $label = elgg_view("profile/icon",array('entity' => $friend, 'size' => 'tiny')); $options[$label] = $friend->getGUID(); if (in_array($friend->getGUID(),$vars['value'])) { $checked = "checked = \"checked\""; if (!in_array($letter,$activeletters)) $activeletters[] = $letter; } else { $checked = ""; } ?>