function _biblio_get_user_doi_form in Bibliography Module 6
Same name and namespace in other branches
- 6.2 includes/biblio.admin.inc \_biblio_get_user_doi_form()
- 7 includes/biblio.admin.inc \_biblio_get_user_doi_form()
- 7.2 includes/biblio.admin.inc \_biblio_get_user_doi_form()
1 call to _biblio_get_user_doi_form()
- biblio_user in ./
biblio.module - Implementation of hook_user().
File
- ./
biblio.admin.inc, line 1450
Code
function _biblio_get_user_doi_form(&$form, $user) {
$form['biblio_doi'] = array(
'#type' => 'fieldset',
'#collapsible' => TRUE,
'#collapsed' => TRUE,
'#title' => t('CrossRef Login Information'),
);
$link_attrs = array(
'attributes' => array(
'target' => '_blank',
),
'absolue' => TRUE,
);
$form['biblio_doi']['biblio_crossref_pid'] = array(
'#type' => 'textfield',
'#title' => t('CrossRef OpenURL Account ID'),
'#default_value' => $user->biblio_crossref_pid,
'#return_value' => 1,
'#description' => t('Enter your complimentary CrossRef OpenURL account ID which you can obtain here ') . l('OpenURL Account Request Form', 'http://www.crossref.org/requestaccount/', $link_attrs) . t(', OR enter your full CrossRef (colon separated) account:password combination.'),
);
return $form;
}