You are here

function openid_user_add in Drupal 6

Same name and namespace in other branches
  1. 7 modules/openid/openid.pages.inc \openid_user_add()

Form builder; Add an OpenID identity.

See also

openid_user_add_validate()

Related topics

1 string reference to 'openid_user_add'
openid_user_identities in modules/openid/openid.pages.inc
Menu callback; Manage OpenID identities for the specified user.

File

modules/openid/openid.pages.inc, line 60
User page callbacks for the openid module.

Code

function openid_user_add() {
  $form['openid_identifier'] = array(
    '#type' => 'textfield',
    '#title' => t('OpenID'),
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Add an OpenID'),
  );
  return $form;
}