function shoutbox_publish_form_submit in Shoutbox 5
Same name and namespace in other branches
- 6.2 shoutbox.pages.inc \shoutbox_publish_form_submit()
- 6 shoutbox.module \shoutbox_publish_form_submit()
- 7.2 shoutbox.pages.inc \shoutbox_publish_form_submit()
- 7 shoutbox.pages.inc \shoutbox_publish_form_submit()
Handle the publish form submission.
File
- ./
shoutbox.module, line 798 - shoutbox module displays a block for users to create short messages for thw whole site. Uses AHAH to update the database and display content.
Code
function shoutbox_publish_form_submit($form_id, $form_values) {
return _shoutbox_moderate_shout($form_values['shout_id'], 0);
}