aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/search_body.html
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-10-17 21:30:40 +0200
committerIgor Wiedler <igor@wiedler.ch>2010-10-17 21:30:40 +0200
commit6582455e5d2b207d7d497766514529d82201339d (patch)
treeb6020814e9ab2e19bc1572d1ad46135206d0f913 /phpBB/styles/prosilver/template/search_body.html
parent0aecbfa806aae1d392230374a06c4f917df066ec (diff)
parent940191973fdbffffe51baf1dc5e6abc5bcdf0d75 (diff)
downloadforums-6582455e5d2b207d7d497766514529d82201339d.tar
forums-6582455e5d2b207d7d497766514529d82201339d.tar.gz
forums-6582455e5d2b207d7d497766514529d82201339d.tar.bz2
forums-6582455e5d2b207d7d497766514529d82201339d.tar.xz
forums-6582455e5d2b207d7d497766514529d82201339d.zip
Merge branch 'ticket/bantu/7417' into develop-olympus
* ticket/bantu/7417: [ticket/7417] Also focus search keywords and username in subsilver2. [ticket/7417] Focus username field when prosilver login page is loaded. [ticket/7417] Focus search keywords field when prosilver search page is loaded.
Diffstat (limited to 'phpBB/styles/prosilver/template/search_body.html')
-rw-r--r--phpBB/styles/prosilver/template/search_body.html8
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 -->