diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-02-27 02:46:37 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-02-27 02:46:37 +0000 |
commit | 69262e5a735bd3e3acf323bf55ae8737ecfe8345 (patch) | |
tree | 047e7dcc85e569589155598f4e790b4a268d7dd7 | |
parent | 79dc846ae8fd79a3e62dbfaac3425071edc22d22 (diff) | |
download | brdo-69262e5a735bd3e3acf323bf55ae8737ecfe8345.tar.gz brdo-69262e5a735bd3e3acf323bf55ae8737ecfe8345.tar.bz2 |
- Search: fix search block stretching sidebar
-rw-r--r-- | modules/search.module | 2 | ||||
-rw-r--r-- | modules/search/search.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/search.module b/modules/search.module index 002ea09c2..5c90c798b 100644 --- a/modules/search.module +++ b/modules/search.module @@ -645,7 +645,7 @@ function search_form($action = '', $keys = '', $type = null, $prompt = null) { $output = ' <div class="search-form">'; $box = '<div class="container-inline">'; - $box .= form_textfield('', 'keys', $keys, 40, 255); + $box .= form_textfield('', 'keys', $keys, $prompt ? 40 : 20, 255); $box .= form_submit(t('Search')); $box .= '</div>'; $output .= form_item($prompt, $box); diff --git a/modules/search/search.module b/modules/search/search.module index 002ea09c2..5c90c798b 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -645,7 +645,7 @@ function search_form($action = '', $keys = '', $type = null, $prompt = null) { $output = ' <div class="search-form">'; $box = '<div class="container-inline">'; - $box .= form_textfield('', 'keys', $keys, 40, 255); + $box .= form_textfield('', 'keys', $keys, $prompt ? 40 : 20, 255); $box .= form_submit(t('Search')); $box .= '</div>'; $output .= form_item($prompt, $box); |