function fb_social_livestream_settings_form in Facebook social plugins integration 6
File
- ./
fb_social.widgets.inc, line 33
Code
function fb_social_livestream_settings_form() {
$form = array();
$form['fb_social_livestream_width'] = array(
'#type' => 'textfield',
'#title' => t('Width'),
'#description' => t('The width of the widget in pixels'),
'#default_value' => variable_get('fb_social_livestream_width', 400),
);
$form['fb_social_livestream_height'] = array(
'#type' => 'textfield',
'#title' => t('Height'),
'#description' => t('The height of the widget in pixels'),
'#default_value' => variable_get('fb_social_livestream_height', 500),
);
/*
$form['fb_social_livestream_via'] = array(
'#type' => 'textfield',
'#title' => t('Via Attribute URL'),
'#description' => t('The height of the widget in pixels'),
'#default_value' => variable_get('fb_social_livestream_height', 300)
);
*/
$form['fb_social_livestream_posttofriends'] = array(
'#type' => 'checkbox',
'#title' => t('Always post to friends'),
'#description' => t('If set, all user posts will always go to their profile. This option should only be used when users posts are likely to make sense outside of the context of the event'),
'#default_value' => variable_get('fb_social_livestream_posttofriends', 0),
);
$form = system_settings_form($form);
return $form;
}