You are here

function user_admin_check_mail in Drupal 6

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

File

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

Code

function user_admin_check_mail() {
  $form['mail'] = array(
    '#type' => 'fieldset',
    '#title' => t('E-mail'),
  );
  $form['mail']['test'] = array(
    '#type' => 'textfield',
    '#title' => '',
    '#description' => t('Enter an e-mail address to check if it will be denied or allowed.'),
    '#size' => 30,
    '#maxlength' => EMAIL_MAX_LENGTH,
  );
  $form['mail']['type'] = array(
    '#type' => 'hidden',
    '#value' => 'mail',
  );
  $form['mail']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Check e-mail'),
  );
  $form['#submit'][] = 'user_admin_access_check_submit';
  $form['#validate'][] = 'user_admin_access_check_validate';
  $form['#theme'] = 'user_admin_access_check';
  return $form;
}