summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-08-29 18:20:01 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-08-29 18:20:01 +0000
commit48002ab0b422f49885d638522060b834cc692211 (patch)
tree6763bfa9d990190f8bc5f61bc4a06d5521b2d968
parent55a297d9da5e28f8bc44d9ed01ac1ee2bc2e3baa (diff)
downloadbrdo-48002ab0b422f49885d638522060b834cc692211.tar.gz
brdo-48002ab0b422f49885d638522060b834cc692211.tar.bz2
#66595 by AjK: add a default title to the search box, which can be altered/styled out if needed
-rw-r--r--modules/search/search.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 326cff4a5..349ac2a58 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -1072,6 +1072,7 @@ function search_form_submit($form, &$form_state) {
function search_box(&$form_state, $form_id) {
// Use search_keys instead of keys to avoid ID conflicts with the search block.
$form[$form_id .'_keys'] = array(
+ '#title' => t('Search this site'),
'#type' => 'textfield',
'#size' => 15,
'#default_value' => '',