aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2010-04-29 10:17:16 -0400
committerAndreas Fischer <bantu@phpbb.com>2010-10-16 12:24:48 +0200
commit6e9cf09adbc79d8327b1817096c3b16f50fc80d9 (patch)
treeb23d93ad630c082bcc63cb00680611551f281bec
parent105de6b637898cbbeae88909baf04706c856e839 (diff)
downloadforums-6e9cf09adbc79d8327b1817096c3b16f50fc80d9.tar
forums-6e9cf09adbc79d8327b1817096c3b16f50fc80d9.tar.gz
forums-6e9cf09adbc79d8327b1817096c3b16f50fc80d9.tar.bz2
forums-6e9cf09adbc79d8327b1817096c3b16f50fc80d9.tar.xz
forums-6e9cf09adbc79d8327b1817096c3b16f50fc80d9.zip
[ticket/7417] Focus username field when prosilver login page is loaded.
PHPBB3-7417
-rw-r--r--phpBB/styles/prosilver/template/login_body.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/login_body.html b/phpBB/styles/prosilver/template/login_body.html
index e52ccd6434..26e425a1d0 100644
--- a/phpBB/styles/prosilver/template/login_body.html
+++ b/phpBB/styles/prosilver/template/login_body.html
@@ -1,5 +1,11 @@
<!-- INCLUDE overall_header.html -->
+<script type="text/javascript">
+// <![CDATA[
+ onload_functions.push('document.getElementById("{USERNAME_CREDENTIAL}").focus();');
+// ]]>
+</script>
+
<form action="{S_LOGIN_ACTION}" method="post" id="login">
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>