You are here

function bakery_pull_form in Bakery Single Sign-On System 7.2

Same name and namespace in other branches
  1. 6.2 bakery.module \bakery_pull_form()
  2. 7.3 bakery.pages.inc \bakery_pull_form()

Form for admins to pull accounts.

1 string reference to 'bakery_pull_form'
bakery_menu in ./bakery.module
Implements hook_menu().

File

./bakery.module, line 1969
Module file for the Bakery.

Code

function bakery_pull_form($form, &$form_state) {
  $form['or_email'] = array(
    '#type' => 'radios',
    '#options' => array(
      0 => t('Username'),
      1 => t('Username or email'),
    ),
    '#default_value' => 0,
  );
  $form['name'] = array(
    '#type' => 'textfield',
    '#required' => TRUE,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Request account'),
  );
  return $form;
}