You are here

function theme_fb_social_activityfeed in Facebook social plugins integration 6

1 theme call to theme_fb_social_activityfeed()
_fb_social_activityfeed_block in ./fb_social.module

File

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

Code

function theme_fb_social_activityfeed() {
  global $_fb_script_init;
  $_fb_script_init = TRUE;
  $attrs = array(
    'site' => variable_get('fb_social_activityfeed_site', ''),
    'width' => variable_get('fb_social_activityfeed_width', 300),
    'height' => variable_get('fb_social_activityfeed_height', 300),
    'colorscheme' => variable_get('fb_social_activityfeed_colorscheme', 'light'),
    'font' => variable_get('fb_social_activityfeed_font', ''),
    'border_coler' => variable_get('fb_social_activityfeed_border_color', ''),
    'header' => variable_get('fb_social_activityfeed_header', 1) ? 'true' : 'false',
    'recommendations' => variable_get('fb_social_recommendations_header', 1) ? 'true' : 'false',
  );
  $attrs = drupal_attributes($attrs);
  return '<div id="fb-social-activity-widget"><fb:activity ' . $attrs . '></fb:activity></div>';
}