Commit f8b5f21c authored by Dries's avatar Dries
Browse files

- Patch #39043: changing the size of the search box back to 20 ...

parent d21dda89
......@@ -964,7 +964,7 @@ function search_form($action = '', $keys = '', $type = null, $prompt = null) {
$form['#attributes'] = array('class' => 'search-form');
$form['basic'] = array('#type' => 'item', '#title' => $prompt);
$form['basic']['inline'] = array('#type' => 'markup', '#prefix' => '<div class="container-inline">', '#suffix' => '</div>');
$form['basic']['inline']['keys'] = array('#type' => 'textfield', '#title' => '', '#default_value' => $keys, '#size' => $prompt ? 40 : 30, '#maxlength' => 255);
$form['basic']['inline']['keys'] = array('#type' => 'textfield', '#title' => '', '#default_value' => $keys, '#size' => $prompt ? 40 : 20, '#maxlength' => 255);
$form['basic']['inline']['submit'] = array('#type' => 'submit', '#value' => t('Search'));
$form_module = module_invoke($type, 'search', 'form', $keys);
......
......@@ -964,7 +964,7 @@ function search_form($action = '', $keys = '', $type = null, $prompt = null) {
$form['#attributes'] = array('class' => 'search-form');
$form['basic'] = array('#type' => 'item', '#title' => $prompt);
$form['basic']['inline'] = array('#type' => 'markup', '#prefix' => '<div class="container-inline">', '#suffix' => '</div>');
$form['basic']['inline']['keys'] = array('#type' => 'textfield', '#title' => '', '#default_value' => $keys, '#size' => $prompt ? 40 : 30, '#maxlength' => 255);
$form['basic']['inline']['keys'] = array('#type' => 'textfield', '#title' => '', '#default_value' => $keys, '#size' => $prompt ? 40 : 20, '#maxlength' => 255);
$form['basic']['inline']['submit'] = array('#type' => 'submit', '#value' => t('Search'));
$form_module = module_invoke($type, 'search', 'form', $keys);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment