You are here

function load_account_form in Contribute 6

1 string reference to 'load_account_form'
contribute_menu in ./contribute.module

File

./contribute.module, line 25
Lets users contribute to projects

Code

function load_account_form() {
  $form['load_account'] = array(
    '#type' => 'fieldset',
    '#title' => t('Load a user\'s Account'),
    '#tree' => TRUE,
  );
  $form['load_account']['user'] = array(
    '#type' => 'textfield',
    '#title' => t('User'),
    '#size' => 30,
    '#maxlength' => 64,
    '#description' => t('Enter the user whose account you are going to load'),
  );
  $form['load_account']['amount'] = array(
    '#type' => 'textfield',
    '#title' => t('Amount'),
    '#size' => 30,
    '#maxlength' => 64,
    '#description' => t('Enter the amount to load into the user\'s account'),
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Load'),
  );
  return $form;
}