function theme_fb_social_recommendations in Facebook social plugins integration 6
1 theme call to theme_fb_social_recommendations()
File
- ./
fb_social.module, line 128 - Common settings for all fb social plugins
Code
function theme_fb_social_recommendations() {
global $_fb_script_init;
$_fb_script_init = TRUE;
$attrs = array(
'site' => variable_get('fb_social_recommendation_site', ''),
'width' => variable_get('fb_social_recommendation_width', 300),
'height' => variable_get('fb_social_recommendation_height', 300),
'colorscheme' => variable_get('fb_social_recommendation_colorscheme', 'light'),
'font' => variable_get('fb_social_recommendation_font', ''),
'border_coler' => variable_get('fb_social_recommendation_border_color', ''),
'header' => variable_get('fb_social_recommendation_header', 1) ? 'true' : 'false',
);
$attrs = drupal_attributes($attrs);
return '<div id="fb-social-recommendation-widget"><fb:recommendations ' . $attrs . '></fb:recommendations></div>';
}