You are here

function theme_fb_social_facepile in Facebook social plugins integration 6

1 theme call to theme_fb_social_facepile()
_fb_social_facepile_block in ./fb_social.module

File

./fb_social.module, line 182
Common settings for all fb social plugins

Code

function theme_fb_social_facepile() {
  global $_fb_script_init;
  $_fb_script_init = TRUE;
  $attrs = array(
    'max-rows' => variable_get('fb_social_facepile_numrows', 1),
    'href' => variable_get('fb_social_facepile_url', ''),
    'width' => variable_get('fb_social_facepile_width', 200),
  );
  $attrs = drupal_attributes($attrs);
  return '<div class="fb-social-facepile-widget"><fb:facepile ' . $attrs . '></fb:facepile></div>';
}