summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-02-27 02:46:37 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-02-27 02:46:37 +0000
commit69262e5a735bd3e3acf323bf55ae8737ecfe8345 (patch)
tree047e7dcc85e569589155598f4e790b4a268d7dd7 /modules
parent79dc846ae8fd79a3e62dbfaac3425071edc22d22 (diff)
downloadbrdo-69262e5a735bd3e3acf323bf55ae8737ecfe8345.tar.gz
brdo-69262e5a735bd3e3acf323bf55ae8737ecfe8345.tar.bz2
- Search: fix search block stretching sidebar
Diffstat (limited to 'modules')
-rw-r--r--modules/search.module2
-rw-r--r--modules/search/search.module2
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);