function spaces_shoutbox_ajaxform in Spaces 5
Same name and namespace in other branches
- 5.2 spaces_shoutbox/spaces_shoutbox.module \spaces_shoutbox_ajaxform()
Shoutbox form definition
1 string reference to 'spaces_shoutbox_ajaxform'
- spaces_shoutbox_block in spaces_shoutbox/
spaces_shoutbox.module - Implementation of hook_block()
File
- spaces_shoutbox/
spaces_shoutbox.module, line 125
Code
function spaces_shoutbox_ajaxform() {
$form = array(
'#action' => null,
'shout' => array(
'#type' => 'textfield',
'#size' => 20,
'#required' => true,
),
'submit' => array(
'#type' => 'button',
'#value' => t('Shout'),
),
);
$form['#theme'] = '';
// force default renderer
return $form;
}