You are here

function user_admin_check_mail in Drupal 5

Same name and namespace in other branches
  1. 6 modules/user/user.admin.inc \user_admin_check_mail()
1 string reference to 'user_admin_check_mail'
user_admin_access_check in modules/user/user.module
Menu callback: check an access rule

File

modules/user/user.module, line 1610
Enables the user registration and login system.

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['#base'] = 'user_admin_access_check';
  return $form;
}