diff options
Diffstat (limited to 'templates/en')
-rw-r--r-- | templates/en/admlogin.html | 5 | ||||
-rw-r--r-- | templates/en/private.html | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/en/admlogin.html b/templates/en/admlogin.html index 03f763b9..4dd2574c 100644 --- a/templates/en/admlogin.html +++ b/templates/en/admlogin.html @@ -1,9 +1,10 @@ <html> <head> <title>%(listname)s %(who)s Authentication</title> +<script>function sf(){document.f.adminpw.focus();}</script> </head> -<body bgcolor="#ffffff"> -<FORM METHOD=POST ACTION="%(path)s"> +<body bgcolor="#ffffff" onLoad="sf()"> +<FORM METHOD=POST ACTION="%(path)s" name="f"> %(message)s <TABLE WIDTH="100%%" BORDER="0" CELLSPACING="4" CELLPADDING="5"> <TR> diff --git a/templates/en/private.html b/templates/en/private.html index 28ac9bfc..ba0db1fa 100644 --- a/templates/en/private.html +++ b/templates/en/private.html @@ -1,9 +1,10 @@ <html> <head> <title>%(realname)s Private Archives Authentication</title> +<script>function sf(){document.f.username.focus();}</script> </head> -<body bgcolor="#ffffff"> -<FORM METHOD=POST ACTION="%(action)s"> +<body bgcolor="#ffffff" onLoad="sf()"> +<FORM METHOD=POST ACTION="%(action)s" name="f"> %(message)s <TABLE WIDTH="100%%" BORDER="0" CELLSPACING="4" CELLPADDING="5"> <TR> |