mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-17 15:11:40 +02:00
[ticket/7417] Focus search keywords field when prosilver search page is loaded.
PHPBB3-7417
This commit is contained in:
committed by
Andreas Fischer
parent
b8f37a5024
commit
105de6b637
@@ -1,5 +1,11 @@
|
|||||||
<!-- INCLUDE overall_header.html -->
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
onload_functions.push('document.getElementById("keywords").focus();');
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
|
||||||
<h2 class="solo">{L_SEARCH}</h2>
|
<h2 class="solo">{L_SEARCH}</h2>
|
||||||
|
|
||||||
<form method="get" action="{S_SEARCH_ACTION}">
|
<form method="get" action="{S_SEARCH_ACTION}">
|
||||||
@@ -119,4 +125,4 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<!-- INCLUDE overall_footer.html -->
|
<!-- INCLUDE overall_footer.html -->
|
||||||
|
Reference in New Issue
Block a user