Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
48002ab0
Commit
48002ab0
authored
Aug 29, 2007
by
Gábor Hojtsy
Browse files
#66595
by AjK: add a default title to the search box, which can be altered/styled out if needed
parent
55a297d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/search/search.module
View file @
48002ab0
...
...
@@ -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'
=>
''
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment