You are here

function fb_social_facepile_settings_form in Facebook social plugins integration 6

File

./fb_social.widgets.inc, line 2

Code

function fb_social_facepile_settings_form() {
  $form = array();
  $form['fb_social_facepile_numrows'] = array(
    '#type' => 'textfield',
    '#title' => t('Num rows'),
    '#description' => t('The maximum number of rows of profile pictures to show'),
    '#default_value' => variable_get('fb_social_facepile_numrows', 1),
  );
  $form['fb_social_facepile_url'] = array(
    '#type' => 'textfield',
    '#title' => t('URL'),
    '#description' => t('If you want the Facepile to display friends who have liked your page, specify the URL of the page here. If you want the Facepile to display users who have signed up for your site leave this empty.'),
    '#default_value' => variable_get('fb_social_facepile_url', ''),
  );
  $form['fb_social_facepile_width'] = array(
    '#type' => 'textfield',
    '#title' => t('Width'),
    '#description' => t('The width of the widget in pixels'),
    '#default_value' => variable_get('fb_social_facepile_width', 200),
  );
  $form = system_settings_form($form);
  return $form;
}