You are here

function fbconnect_invite_settings in Facebook Connect 6.2

Same name and namespace in other branches
  1. 8.2 fbconnect_invite/fbconnect_invite.module \fbconnect_invite_settings()
  2. 7.2 fbconnect_invite/fbconnect_invite.module \fbconnect_invite_settings()

@todo.

1 string reference to 'fbconnect_invite_settings'
fbconnect_invite_menu in fbconnect_invite/fbconnect_invite.module
Implements hook_menu().

File

fbconnect_invite/fbconnect_invite.module, line 214
@todo.

Code

function fbconnect_invite_settings() {
  $form['fbconnect_invite_msg'] = array(
    '#type' => 'textfield',
    '#title' => t('Invite message'),
    '#default_value' => variable_get('fbconnect_invite_msg', t('Enjoy facebook connect')),
  );
  $form['fbconnect_invite_label'] = array(
    '#type' => 'textfield',
    '#title' => t('Invite button label'),
    '#default_value' => variable_get('fbconnect_invite_label', t('Become a Member!')),
  );
  $form['fbconnect_invite_name'] = array(
    '#type' => 'textfield',
    '#title' => t('Your site name'),
    '#default_value' => variable_get('fbconnect_invite_name', variable_get('site_name', NULL)),
  );
  return system_settings_form($form);
}