function google_appliance_search_form_submit in Google Search Appliance 7
Same name and namespace in other branches
- 6.2 google_appliance.module \google_appliance_search_form_submit()
Submit handler for full search form
File
- ./
google_appliance.module, line 466 - Google Appliance module enables searching via a dedicated Google Search Appliance hardware device. See README.txt and the help page at admin/help/google_appliance.
Code
function google_appliance_search_form_submit($form, &$form_state) {
// set the redirect
$search_query = urlencode($form_state['values']['search_keys']);
$form_state['redirect'] = url($form_state['action'] . $search_query, array(
'absolute' => TRUE,
));
}