diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2010-04-29 10:10:35 -0400 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2010-10-16 12:24:37 +0200 |
commit | 105de6b637898cbbeae88909baf04706c856e839 (patch) | |
tree | b1c90b4a6d9eaa1ef4611898ceb7e150928e68c6 | |
parent | b8f37a5024c3fbda51c76f3990e6dd2059892837 (diff) | |
download | forums-105de6b637898cbbeae88909baf04706c856e839.tar forums-105de6b637898cbbeae88909baf04706c856e839.tar.gz forums-105de6b637898cbbeae88909baf04706c856e839.tar.bz2 forums-105de6b637898cbbeae88909baf04706c856e839.tar.xz forums-105de6b637898cbbeae88909baf04706c856e839.zip |
[ticket/7417] Focus search keywords field when prosilver search page is loaded.
PHPBB3-7417
-rw-r--r-- | phpBB/styles/prosilver/template/search_body.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/search_body.html b/phpBB/styles/prosilver/template/search_body.html index 612641b141..6616b95a73 100644 --- a/phpBB/styles/prosilver/template/search_body.html +++ b/phpBB/styles/prosilver/template/search_body.html @@ -1,5 +1,11 @@ <!-- INCLUDE overall_header.html --> +<script type="text/javascript"> +// <![CDATA[ + onload_functions.push('document.getElementById("keywords").focus();'); +// ]]> +</script> + <h2 class="solo">{L_SEARCH}</h2> <form method="get" action="{S_SEARCH_ACTION}"> @@ -119,4 +125,4 @@ </div> <!-- ENDIF --> -<!-- INCLUDE overall_footer.html -->
\ No newline at end of file +<!-- INCLUDE overall_footer.html --> |