function fb_session_key_form in Drupal for Facebook 6.2
Same name and namespace in other branches
- 5.2 fb.module \fb_session_key_form()
- 5 fb.module \fb_session_key_form()
File
- ./
fb.module, line 732
Code
function fb_session_key_form() {
global $_fb_app;
$form = array(
'auth_token' => array(
'#type' => 'textfield',
'#title' => t('One-time code'),
'#description' => t('If you do not have a one-time code, you can get one !here.', array(
'!here' => l(t('here'), 'http://www.facebook.com/code_gen.php?v=1.0&api_key=' . $_fb_app->apikey),
)),
),
'submit' => array(
'#type' => 'submit',
'#value' => t('Submit'),
),
'#redirect' => FALSE,
);
return $form;
}