You are here

function theme_friend_selector in Drupal for Facebook 5

File

./fb_form.module, line 376
This module defines facebook-specific form elements for use with Drupal's form API.

Code

function theme_friend_selector($fbu = NULL) {
  drupal_set_message("theme_friend_selector");
  if (!$fbu) {
    $fbu = fb_facebook_user();
  }
  $output = "<fb:friend-selector uid=\"{$fbu}\" name=\"fbname\" idname=\"fbu\" />";
  return $output;
}