You are here

function fbconnect_association_form in Facebook Connect 5

Render the user fbconnect association form

1 string reference to 'fbconnect_association_form'
fbconnect_user_identities in ./fbconnect.module
Menu callback fbconnect identities

File

./fbconnect.module, line 408
This module allows site visitors to connect and register with facebook account

Code

function fbconnect_association_form() {
  $form['link'] = array(
    '#type' => 'checkbox',
    '#title' => t('Link my account on @sitename and my Facebook account', array(
      '@sitename' => variable_get('site_name', t('this website')),
    )),
    '#default_value' => 1,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Submit'),
  );
  return $form;
}