openid_user_add

Versions
mediamosa-21
openid_user_add()

Form builder; Add an OpenID identity.

See also

openid_user_add_validate()

Related topics

Code

modules/openid/openid.pages.inc, line 70

<?php
function openid_user_add() {
  $form['openid_identifier'] = array(
    '#type' => 'textfield',
    '#title' => t('OpenID'),
  );
  $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions')));
  $form['actions']['submit'] = array('#type' => 'submit', '#value' => t('Add an OpenID'));
  return $form;
}
?>