function quotes_author_form_submit in Quotes 6
Same name and namespace in other branches
- 5 quotes.module \quotes_author_form_submit()
- 7 quotes.module \quotes_author_form_submit()
Handle submission of the form to select an author.
File
- ./
quotes.module, line 1551 - The quotes module allows users to maintain a list of quotes that can be displayed in any number of administrator-defined quote blocks.
Code
function quotes_author_form_submit($form, &$form_state) {
$form_state['redirect'] = 'quotes/author/' . $form_state['values']['author'];
}