function drupalchat_user_entry_form in DrupalChat 6.2
Same name and namespace in other branches
- 7.2 drupalchat.module \drupalchat_user_entry_form()
- 7 drupalchat.module \drupalchat_user_entry_form()
1 string reference to 'drupalchat_user_entry_form'
File
- ./
drupalchat.module, line 888 - Module code for DrupalChat.
Code
function drupalchat_user_entry_form() {
$form['description'] = array(
'#type' => 'fieldset',
'#title' => t('Switch to another user to view his/her chat transcript'),
'#collapsible' => true,
);
$form['description']['name'] = array(
'#type' => 'textfield',
'#title' => t('Username'),
'#autocomplete_path' => 'user/autocomplete',
);
$form['description']['submit'] = array(
'#type' => 'submit',
'#value' => 'Switch',
);
return $form;
}