diff options
Diffstat (limited to 'templates/sv')
-rw-r--r-- | templates/sv/admlogin.html | 5 | ||||
-rw-r--r-- | templates/sv/private.html | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/sv/admlogin.html b/templates/sv/admlogin.html index 5fdfd1d3..c85183e9 100644 --- a/templates/sv/admlogin.html +++ b/templates/sv/admlogin.html @@ -1,9 +1,10 @@ <html> <head> <title>%(listname)s %(who)s Inloggning</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/sv/private.html b/templates/sv/private.html index 66d918dd..5d29a962 100644 --- a/templates/sv/private.html +++ b/templates/sv/private.html @@ -1,9 +1,10 @@ <html> <head> <title>%(realname)s Inloggning till Privata Arkiv</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> |