function fb_register_detail_page in Drupal for Facebook 6.2
1 string reference to 'fb_register_detail_page'
- fb_register_menu in contrib/
fb_register.module - Implementation of hook_menu().
File
- contrib/
fb_register.module, line 40 - This code aims to prevent duplicate accounts.
Code
function fb_register_detail_page($fb_app) {
$output = '';
if (isset($_REQUEST['how_many'])) {
$how_many = $_REQUEST['how_many'];
}
else {
$how_many = variable_get('fb_register_limit', 100);
}
$output .= '<p>' . t('Use this form below to test user registration. Press the Register button to emulate one cron iteration.') . '</p>';
$output .= drupal_get_form('fb_register_now_form', $fb_app, $how_many);
$output .= '<p>' . t('The registration module is enabled for this application. Users will be registered during cron jobs and when they change email addresses. <br/><a href="!url">Click here to register ALL users now</a>.', array(
'!url' => url('fb_register/' . $fb_app->label . '/' . $how_many),
)) . "</p>\n";
$output .= '<pre>' . print_r($fb_app, 1) . "</pre>\n";
// debug
return $output;
}