You are here

function lockr_admin_request_form in Lockr 7

Returns the certificate request form.

1 call to lockr_admin_request_form()
lockr_admin_form in ./lockr.admin.inc
Form constructor for Lockr registration form.

File

include/request_form.inc, line 11
Form handlers for the certificate request form.

Code

function lockr_admin_request_form() {
  $form = array();
  $form['email'] = array(
    '#type' => 'textfield',
    '#title' => t('Email address'),
  );
  $form['partner'] = array(
    '#type' => 'textfield',
    '#title' => t('Hosting provider'),
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Request certificate'),
    '#validate' => array(
      'lockr_admin_request_validate',
    ),
    '#submit' => array(
      'lockr_admin_request_submit',
    ),
  );
  return $form;
}