aboutsummaryrefslogtreecommitdiffstats
path: root/templates/ar
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2012-03-24 18:23:57 -0700
committerMark Sapiro <msapiro@value.net>2012-03-24 18:23:57 -0700
commitfbf25ca208265ed0b2a39aa29a198e2ca180eeeb (patch)
tree4f0e44298e2b296f9efcecd35359a813e5597770 /templates/ar
parent279fc1d3953a2ab01934c71219d21ade7ebaff75 (diff)
downloadmailman2-fbf25ca208265ed0b2a39aa29a198e2ca180eeeb.tar.gz
mailman2-fbf25ca208265ed0b2a39aa29a198e2ca180eeeb.tar.xz
mailman2-fbf25ca208265ed0b2a39aa29a198e2ca180eeeb.zip
Added javascript to the private.html and admlogin.html templates to
focus the cursor on the entry field. (LP: #266054)
Diffstat (limited to 'templates/ar')
-rw-r--r--templates/ar/admlogin.html5
-rw-r--r--templates/ar/private.html5
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/ar/admlogin.html b/templates/ar/admlogin.html
index c5aaab97..84ff5498 100644
--- a/templates/ar/admlogin.html
+++ b/templates/ar/admlogin.html
@@ -2,9 +2,10 @@
<head>
<title>التحقق من الشخصية لـ %(who)s للقائمة %(listname)s</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <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/ar/private.html b/templates/ar/private.html
index ec26787e..eb692fc1 100644
--- a/templates/ar/private.html
+++ b/templates/ar/private.html
@@ -2,9 +2,10 @@
<head>
<title>التحقق من الشخصية للأرشيف الخاص بالقائمة %(realname)s</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <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>