summaryrefslogtreecommitdiff
path: root/modules/search.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-19 10:11:14 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-19 10:11:14 +0000
commitf8b5f21cf5c9d0c02c353a4f0233df775103b500 (patch)
treeddc5129a4f27795c430c85ed7f3f77e365547419 /modules/search.module
parentd21dda89b33e0dc979b55cb419377bd0538a03fc (diff)
downloadbrdo-f8b5f21cf5c9d0c02c353a4f0233df775103b500.tar.gz
brdo-f8b5f21cf5c9d0c02c353a4f0233df775103b500.tar.bz2
- Patch #39043: changing the size of the search box back to 20 ...
Diffstat (limited to 'modules/search.module')
-rw-r--r--modules/search.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search.module b/modules/search.module
index 51a6dc745..99416bd72 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -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);