aboutsummaryrefslogtreecommitdiffstats
path: root/templates/zh_CN
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/zh_CN/admlogin.html5
-rw-r--r--templates/zh_CN/private.html5
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/zh_CN/admlogin.html b/templates/zh_CN/admlogin.html
index 0dfa9d3c..7b6dd4be 100644
--- a/templates/zh_CN/admlogin.html
+++ b/templates/zh_CN/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/zh_CN/private.html b/templates/zh_CN/private.html
index 8fd450a7..724e0ab0 100644
--- a/templates/zh_CN/private.html
+++ b/templates/zh_CN/private.html
@@ -1,9 +1,10 @@
<html>
<head>
<title>%(realname)s 私有归档认证</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>