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
e89e4fbd
Commit
e89e4fbd
authored
May 06, 2005
by
Dries Buytaert
Browse files
- Patch
#22127
by kbahey: fixed search box in PHPTemplate-based core themes.
parent
63019040
Changes
2
Hide whitespace changes
Inline
Side-by-side
themes/bluemarine/page.tpl.php
View file @
e89e4fbd
...
...
@@ -24,7 +24,7 @@
<div
id=
"primary"
>
<?php
print
theme
(
'links'
,
$primary_links
)
?>
</div>
<?php
if
(
$search_box
)
{
?>
<form
action=
"
<?php
print
$search_url
?>
"
method=
"post"
>
<div
id=
"search"
>
<input
class=
"form-text"
type=
"text"
size=
"15"
value=
""
name=
"keys"
alt=
"
<?php
print
$search_description
?>
"
/>
<input
class=
"form-text"
type=
"text"
size=
"15"
value=
""
name=
"
edit[
keys
]
"
alt=
"
<?php
print
$search_description
?>
"
/>
<input
class=
"form-submit"
type=
"submit"
value=
"
<?php
print
$search_button_text
?>
"
/>
</div>
</form>
<?php
}
?>
...
...
themes/pushbutton/page.tpl.php
View file @
e89e4fbd
...
...
@@ -56,7 +56,7 @@
<?php
if
(
$search_box
)
:
?>
<form
action=
"
<?php
print
$search_url
?>
"
method=
"post"
>
<div
id=
"search"
>
<input
class=
"form-text"
type=
"text"
size=
"15"
value=
""
name=
"keys"
alt=
"
<?php
print
$search_description
?>
"
/>
<input
class=
"form-text"
type=
"text"
size=
"15"
value=
""
name=
"
edit[
keys
]
"
alt=
"
<?php
print
$search_description
?>
"
/>
<input
class=
"form-submit"
type=
"submit"
value=
"
<?php
print
$search_button_text
?>
"
alt=
"submit"
/>
</div>
</form>
...
...
@@ -139,4 +139,4 @@
<?php
endif
;
?>
<?php
print
$closure
;
?>
</body>
</html>
\ No newline at end of file
</html>
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