diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2010-10-17 21:30:40 +0200 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2010-10-17 21:30:40 +0200 |
| commit | 6582455e5d2b207d7d497766514529d82201339d (patch) | |
| tree | b6020814e9ab2e19bc1572d1ad46135206d0f913 /phpBB/styles/prosilver/template | |
| parent | 0aecbfa806aae1d392230374a06c4f917df066ec (diff) | |
| parent | 940191973fdbffffe51baf1dc5e6abc5bcdf0d75 (diff) | |
| download | forums-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')
| -rw-r--r-- | phpBB/styles/prosilver/template/login_body.html | 6 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/search_body.html | 8 |
2 files changed, 13 insertions, 1 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> 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 --> |
