Global search UI

Increased the width of the search field
This commit is contained in:
Tristan Olive 2013-06-19 12:54:41 -04:00 committed by Oliver Bock
parent 24d3acb4fa
commit 1a0f317dd1
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ include_once('global_search_solr.features.inc');
// label on the search form!? Need a custom module to call hook_form_alter()...
function global_search_solr_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'apachesolr_search_custom_page_search_form') {
$form['basic']['keys']['#title'] = t('Search');
$form['basic']['keys']['#title'] = t('Search');
$form['basic']['keys']['#size'] = 40;
}
}