function drupalchat_user_entry_form in DrupalChat 7
Same name and namespace in other branches
- 6.2 drupalchat.module \drupalchat_user_entry_form()
- 7.2 drupalchat.module \drupalchat_user_entry_form()
1 string reference to 'drupalchat_user_entry_form'
File
- ./
drupalchat.module, line 1165 - 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'),
);
$form['description']['container'] = array(
'#type' => 'container',
'#attributes' => array(
'class' => array(
'container-inline',
),
),
);
$form['description']['container']['name'] = array(
'#type' => 'textfield',
'#title' => t('Username'),
'#autocomplete_path' => 'user/autocomplete',
);
$form['description']['container']['submit'] = array(
'#type' => 'submit',
'#value' => 'Switch',
);
return $form;
}