You are here

function user_admin_check_user in Drupal 6

Same name and namespace in other branches
  1. 5 modules/user/user.module \user_admin_check_user()
1 string reference to 'user_admin_check_user'
user_admin_access_check in modules/user/user.admin.inc
Menu callback: list all access rules

File

modules/user/user.admin.inc, line 812
Admin page callback file for the user module.

Code

function user_admin_check_user() {
  $form['user'] = array(
    '#type' => 'fieldset',
    '#title' => t('Username'),
  );
  $form['user']['test'] = array(
    '#type' => 'textfield',
    '#title' => '',
    '#description' => t('Enter a username to check if it will be denied or allowed.'),
    '#size' => 30,
    '#maxlength' => USERNAME_MAX_LENGTH,
  );
  $form['user']['type'] = array(
    '#type' => 'hidden',
    '#value' => 'user',
  );
  $form['user']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Check username'),
  );
  $form['#submit'][] = 'user_admin_access_check_submit';
  $form['#validate'][] = 'user_admin_access_check_validate';
  $form['#theme'] = 'user_admin_access_check';
  return $form;
}