User account

Spaces are allowed; punctuation is not allowed except for periods, hyphens, and underscores.
array (
  'account' => 
  array (
    '#type' => 'fieldset',
    '#title' => 'Account information',
    '#weight' => -10,
    'name' => 
    array (
      '#type' => 'textfield',
      '#title' => 'Username',
      '#default_value' => NULL,
      '#maxlength' => 60,
      '#description' => 'Spaces are allowed; punctuation is not allowed except for periods, hyphens, and underscores.',
      '#required' => true,
      '#post' => 
      array (
      ),
      '#programmed' => false,
      '#tree' => false,
      '#parents' => 
      array (
        0 => 'name',
      ),
      '#array_parents' => 
      array (
        0 => 'account',
        1 => 'name',
      ),
      '#weight' => 0,
      '#processed' => true,
      '#attributes' => 
      array (
      ),
      '#input' => true,
      '#size' => 60,
      '#autocomplete_path' => false,
      '#process' => 
      array (
        0 => 'form_expand_ahah',
      ),
      '#name' => 'name',
      '#id' => 'edit-name',
      '#value' => '',
      '#defaults_loaded' => true,
      '#sorted' => true,
      '#printed' => true,
    ),
    'mail' => 
    array (
      '#type' => 'textfield',
      '#title' => 'E-mail address',
      '#default_value' => NULL,
      '#maxlength' => 64,
      '#description' => 'A valid e-mail address. All e-mails from the system will be sent to this address. The e-mail address is not made public and will only be used if you wish to receive a new password or wish to receive certain news or notifications by e-mail.',
      '#required' => true,
      '#post' => 
      array (
      ),
      '#programmed' => false,
      '#tree' => false,
      '#parents' => 
      array (
        0 => 'mail',
      ),
      '#array_parents' => 
      array (
        0 => 'account',
        1 => 'mail',
      ),
      '#weight' => 0.001,
      '#processed' => true,
      '#attributes' => 
      array (
      ),
      '#input' => true,
      '#size' => 60,
      '#autocomplete_path' => false,
      '#process' => 
      array (
        0 => 'form_expand_ahah',
      ),
      '#name' => 'mail',
      '#id' => 'edit-mail',
      '#value' => '',
      '#defaults_loaded' => true,
      '#sorted' => true,
    ),
    '#post' => 
    array (
    ),
    '#programmed' => false,
    '#tree' => false,
    '#parents' => 
    array (
      0 => 'account',
    ),
    '#array_parents' => 
    array (
      0 => 'account',
    ),
    '#processed' => false,
    '#description' => NULL,
    '#attributes' => 
    array (
    ),
    '#required' => false,
    '#collapsible' => false,
    '#collapsed' => false,
    '#value' => NULL,
    '#process' => 
    array (
      0 => 'form_expand_ahah',
    ),
    '#defaults_loaded' => true,
    '#sorted' => true,
    'pass' => NULL,
  ),
  '#parents' => 
  array (
  ),
  '#method' => 'post',
  '#tree' => false,
  '#required' => false,
  '#attributes' => 
  array (
  ),
  '#action' => '/user/register',
  '#pre_render' => 
  array (
    0 => 'captcha_pre_render',
    1 => 'captcha_pre_render_place_captcha',
  ),
  '#defaults_loaded' => true,
  '#theme' => 'user_register',
  '#processed' => false,
  '#post' => 
  array (
  ),
  '#description' => NULL,
  '#submit' => 
  array (
    0 => 'user_register_submit',
  ),
  '#id' => 'user-register',
  'user_registration_help' => 
  array (
    '#value' => '',
    '#post' => 
    array (
    ),
    '#programmed' => false,
    '#tree' => false,
    '#parents' => 
    array (
      0 => 'user_registration_help',
    ),
    '#array_parents' => 
    array (
      0 => 'user_registration_help',
    ),
    '#weight' => 0,
    '#processed' => false,
    '#defaults_loaded' => true,
    '#sorted' => true,
  ),
  '#validate' => 
  array (
    0 => 'user_register_validate',
  ),
  '#uid' => NULL,
  '#build_id' => 'form-6d8ef996a6819d3d036c055c2701506c',
  '#parameters' => 
  array (
    0 => 'user_register',
    1 => 
    array (
      'storage' => NULL,
      'submitted' => false,
      'post' => 
      array (
      ),
    ),
  ),
  '#type' => 'markup',
  '#programmed' => false,
  'timezone' => 
  array (
    '#type' => 'hidden',
    '#default_value' => '3600',
    '#id' => 'edit-user-register-timezone',
    '#post' => 
    array (
    ),
    '#programmed' => false,
    '#tree' => false,
    '#parents' => 
    array (
      0 => 'timezone',
    ),
    '#array_parents' => 
    array (
      0 => 'timezone',
    ),
    '#weight' => 0.004,
    '#processed' => true,
    '#description' => NULL,
    '#attributes' => 
    array (
    ),
    '#required' => false,
    '#input' => true,
    '#process' => 
    array (
      0 => 'form_expand_ahah',
    ),
    '#name' => 'timezone',
    '#value' => '3600',
    '#defaults_loaded' => true,
    '#sorted' => true,
  ),
  'form_build_id' => 
  array (
    '#type' => 'hidden',
    '#value' => 'form-6d8ef996a6819d3d036c055c2701506c',
    '#id' => 'form-6d8ef996a6819d3d036c055c2701506c',
    '#name' => 'form_build_id',
    '#post' => 
    array (
    ),
    '#programmed' => false,
    '#tree' => false,
    '#parents' => 
    array (
      0 => 'form_build_id',
    ),
    '#array_parents' => 
    array (
      0 => 'form_build_id',
    ),
    '#weight' => 0.006,
    '#processed' => true,
    '#description' => NULL,
    '#attributes' => 
    array (
    ),
    '#required' => false,
    '#input' => true,
    '#process' => 
    array (
      0 => 'form_expand_ahah',
    ),
    '#defaults_loaded' => true,
    '#sorted' => true,
  ),
  'form_id' => 
  array (
    '#type' => 'hidden',
    '#value' => 'user_register',
    '#id' => 'edit-user-register',
    '#post' => 
    array (
    ),
    '#programmed' => false,
    '#tree' => false,
    '#parents' => 
    array (
      0 => 'form_id',
    ),
    '#array_parents' => 
    array (
      0 => 'form_id',
    ),
    '#weight' => 0.007,
    '#processed' => true,
    '#description' => NULL,
    '#attributes' => 
    array (
    ),
    '#required' => false,
    '#input' => true,
    '#process' => 
    array (
      0 => 'form_expand_ahah',
    ),
    '#name' => 'form_id',
    '#defaults_loaded' => true,
    '#sorted' => true,
  ),
  'Revenue Sharing' => 
  array (
    '#type' => 'fieldset',
    '#title' => 'Revenue Sharing',
    '#weight' => 1,
    'profile_google_adsense_client_id' => 
    array (
      '#type' => 'textfield',
      '#title' => 'Google Adsense ID',
      '#default_value' => '',
      '#maxlength' => 255,
      '#description' => 'Enter your Google Adsense Client ID to get revenue for all the articles you write.
 The content of this field is kept private and will not be shown publicly.',
      '#required' => '0',
      '#post' => 
      array (
      ),
      '#programmed' => false,
      '#tree' => false,
      '#parents' => 
      array (
        0 => 'profile_google_adsense_client_id',
      ),
      '#array_parents' => 
      array (
        0 => 'Revenue Sharing',
        1 => 'profile_google_adsense_client_id',
      ),
      '#weight' => 0,
      '#processed' => true,
      '#attributes' => 
      array (
      ),
      '#input' => true,
      '#size' => 60,
      '#autocomplete_path' => false,
      '#process' => 
      array (
        0 => 'form_expand_ahah',
      ),
      '#name' => 'profile_google_adsense_client_id',
      '#id' => 'edit-profile-google-adsense-client-id',
      '#value' => '',
      '#defaults_loaded' => true,
      '#sorted' => true,
    ),
    '#post' => 
    array (
    ),
    '#programmed' => false,
    '#tree' => false,
    '#parents' => 
    array (
      0 => 'Revenue Sharing',
    ),
    '#array_parents' => 
    array (
      0 => 'Revenue Sharing',
    ),
    '#processed' => false,
    '#description' => NULL,
    '#attributes' => 
    array (
    ),
    '#required' => false,
    '#collapsible' => false,
    '#collapsed' => false,
    '#value' => NULL,
    '#process' => 
    array (
      0 => 'form_expand_ahah',
    ),
    '#defaults_loaded' => true,
    '#sorted' => true,
  ),
  'xmlsitemap' => 
  array (
    '#type' => 'fieldset',
    '#title' => 'XML site map',
    '#collapsible' => true,
    '#access' => false,
    '#weight' => 7,
    'xmlsitemap_node_posts_count' => 
    array (
      '#type' => 'select',
      '#title' => 'User posts threshold',
      '#description' => 'The number of posts a user must author before his posts are added to the site map.',
      '#default_value' => '1',
      '#options' => 
      array (
        1 => '1',
        5 => '5',
        10 => '10',
        20 => '20',
        50 => '50',
        100 => '100',
        200 => '200',
        500 => '500',
        0 => 'Never add the posts',
      ),
      '#access' => false,
      '#post' => 
      array (
      ),
      '#programmed' => false,
      '#tree' => false,
      '#parents' => 
      array (
        0 => 'xmlsitemap_node_posts_count',
      ),
      '#array_parents' => 
      array (
        0 => 'xmlsitemap',
        1 => 'xmlsitemap_node_posts_count',
      ),
      '#weight' => 0,
      '#processed' => true,
      '#attributes' => 
      array (
      ),
      '#required' => false,
      '#input' => true,
      '#size' => 0,
      '#multiple' => false,
      '#process' => 
      array (
        0 => 'form_expand_ahah',
      ),
      '#name' => 'xmlsitemap_node_posts_count',
      '#id' => 'edit-xmlsitemap-node-posts-count',
      '#value' => '1',
      '#defaults_loaded' => true,
      '#sorted' => true,
    ),
    '#post' => 
    array (
    ),
    '#programmed' => false,
    '#tree' => false,
    '#parents' => 
    array (
      0 => 'xmlsitemap',
    ),
    '#array_parents' => 
    array (
      0 => 'xmlsitemap',
    ),
    '#processed' => false,
    '#description' => NULL,
    '#attributes' => 
    array (
    ),
    '#required' => false,
    '#collapsed' => false,
    '#value' => NULL,
    '#process' => 
    array (
      0 => 'form_expand_ahah',
    ),
    '#defaults_loaded' => true,
    '#sorted' => true,
  ),
  'captcha' => 
  array (
    '#type' => 'fieldset',
    '#title' => 'CAPTCHA',
    '#description' => 'This question is for testing whether you are a human visitor and to prevent automated spam submissions.',
    '#attributes' => 
    array (
      'class' => 'captcha',
    ),
    'captcha_image' => 
    array (
      '#type' => 'markup',
      '#value' => 'Image CAPTCHA',
      '#weight' => -2,
      '#post' => 
      array (
      ),
      '#programmed' => false,
      '#tree' => false,
      '#parents' => 
      array (
        0 => 'captcha_image',
      ),
      '#array_parents' => 
      array (
        0 => 'captcha',
        1 => 'captcha_image',
      ),
      '#processed' => false,
      '#description' => NULL,
      '#attributes' => 
      array (
      ),
      '#required' => false,
      '#prefix' => '',
      '#suffix' => '',
      '#defaults_loaded' => true,
      '#sorted' => true,
    ),
    'captcha_response' => 
    array (
      '#type' => 'textfield',
      '#title' => 'What code is in the image?',
      '#description' => 'Copy the characters (respecting upper/lower case) from the image.',
      '#weight' => 0,
      '#required' => true,
      '#size' => 15,
      '#post' => 
      array (
      ),
      '#programmed' => false,
      '#tree' => false,
      '#parents' => 
      array (
        0 => 'captcha_response',
      ),
      '#array_parents' => 
      array (
        0 => 'captcha',
        1 => 'captcha_response',
      ),
      '#processed' => true,
      '#attributes' => 
      array (
      ),
      '#input' => true,
      '#maxlength' => 128,
      '#autocomplete_path' => false,
      '#process' => 
      array (
        0 => 'form_expand_ahah',
      ),
      '#name' => 'captcha_response',
      '#id' => 'edit-captcha-response',
      '#value' => '',
      '#defaults_loaded' => true,
      '#sorted' => true,
    ),
    'captcha_solution' => 
    array (
      '#type' => 'value',
      '#value' => 'ZB8K',
      '#post' => 
      array (
      ),
      '#programmed' => false,
      '#tree' => false,
      '#parents' => 
      array (
        0 => 'captcha_solution',
      ),
      '#array_parents' => 
      array (
        0 => 'captcha',
        1 => 'captcha_solution',
      ),
      '#weight' => 0.002,
      '#processed' => false,
      '#description' => NULL,
      '#attributes' => 
      array (
      ),
      '#required' => false,
      '#input' => true,
      '#name' => 'captcha_solution',
      '#id' => 'edit-captcha-solution',
      '#defaults_loaded' => true,
      '#sorted' => true,
    ),
    'captcha_token' => 
    array (
      '#type' => 'hidden',
      '#value' => 'fb204fd1461b1e5722e6529cf637d306',
      '#post' => 
      array (
      ),
      '#programmed' => false,
      '#tree' => false,
      '#parents' => 
      array (
        0 => 'captcha_token',
      ),
      '#array_parents' => 
      array (
        0 => 'captcha',
        1 => 'captcha_token',
      ),
      '#weight' => 0.003,
      '#processed' => true,
      '#description' => NULL,
      '#attributes' => 
      array (
      ),
      '#required' => false,
      '#input' => true,
      '#process' => 
      array (
        0 => 'form_expand_ahah',
      ),
      '#name' => 'captcha_token',
      '#id' => 'edit-captcha-token',
      '#defaults_loaded' => true,
      '#sorted' => true,
    ),
    'captcha_info' => 
    array (
      '#type' => 'value',
      '#value' => 
      array (
        'form_id' => 'user_register',
        'preprocess' => false,
        'module' => 'image_captcha',
        'type' => 'Image',
      ),
      '#post' => 
      array (
      ),
      '#programmed' => false,
      '#tree' => false,
      '#parents' => 
      array (
        0 => 'captcha_info',
      ),
      '#array_parents' => 
      array (
        0 => 'captcha',
        1 => 'captcha_info',
      ),
      '#weight' => 0.004,
      '#processed' => false,
      '#description' => NULL,
      '#attributes' => 
      array (
      ),
      '#required' => false,
      '#input' => true,
      '#name' => 'captcha_info',
      '#id' => 'edit-captcha-info',
      '#defaults_loaded' => true,
      '#sorted' => true,
    ),
    '#element_validate' => 
    array (
      0 => 'captcha_validate',
    ),
    '#post' => 
    array (
    ),
    '#programmed' => false,
    '#tree' => false,
    '#parents' => 
    array (
      0 => 'captcha',
    ),
    '#array_parents' => 
    array (
      0 => 'captcha',
    ),
    '#weight' => 29.9995,
    '#processed' => false,
    '#required' => false,
    '#collapsible' => false,
    '#collapsed' => false,
    '#value' => NULL,
    '#process' => 
    array (
      0 => 'form_expand_ahah',
    ),
    '#defaults_loaded' => true,
  ),
  'submit' => 
  array (
    '#type' => 'submit',
    '#value' => 'Create new account',
    '#weight' => 30,
    '#post' => 
    array (
    ),
    '#programmed' => false,
    '#tree' => false,
    '#parents' => 
    array (
      0 => 'submit',
    ),
    '#array_parents' => 
    array (
      0 => 'submit',
    ),
    '#processed' => true,
    '#description' => NULL,
    '#attributes' => 
    array (
    ),
    '#required' => false,
    '#input' => true,
    '#name' => 'op',
    '#button_type' => 'submit',
    '#executes_submit_callback' => true,
    '#process' => 
    array (
      0 => 'form_expand_ahah',
    ),
    '#id' => 'edit-submit',
    '#defaults_loaded' => true,
    '#sorted' => true,
    '#title' => NULL,
    '#printed' => true,
  ),
  '#title' => NULL,
  '#theme_used' => true,
  '#value' => '',
)