You are here

function theme_render_friends_list_fbconnect in Facebook Connect 5

2 theme calls to theme_render_friends_list_fbconnect()
fbconnect_register_page in ./fbconnect.module
Menu callback. Called when user perform facebook registration
theme_block_fbconnect in ./fbconnect.module
Return fbconnect blocks content

File

./fbconnect.module, line 1066
This module allows site visitors to connect and register with facebook account

Code

function theme_render_friends_list_fbconnect($data, $title) {
  if (!empty($data)) {
    foreach ($data as $account) {
      if ($account->picture && file_exists($account->picture)) {
        $picture = theme('user_picture', $account);
      }
      $items[] = $picture . theme('username', $account);
      unset($picture);
    }
    return theme('item_list', $items, $title);
  }
}