function user_admin_check_host

6.x user.admin.inc user_admin_check_host()
1 string reference to 'user_admin_check_host'
user_admin_access_check in drupal-6.x/modules/user/user.admin.inc
Menu callback: list all access rules

File

drupal-6.x/modules/user/user.admin.inc, line 834
Admin page callback file for the user module.

Code

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