changeset 247:8945b78dd6b6

Use HTML5 form field autofocus.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 23 Nov 2013 23:38:55 +0200
parents cb34e3fafb33
children 8d46f1358233
files admin.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/admin.php	Sat Nov 23 23:38:04 2013 +0200
+++ b/admin.php	Sat Nov 23 23:38:55 2013 +0200
@@ -84,7 +84,7 @@
     "<p>Please use illegal telepathy over HTTP to provide a password to enter the party administration systembolaget.</p>\n".
     stGetFormStart("admlogin", "admlogin.php").
     stGetFormHiddenInput("mode", "check")."\n".
-    stGetFormPasswordInput("admpass", "", "")."\n".
+    stGetFormPasswordInput("admpass", "", "", "autofocus=\"autofocus\"")."\n".
     stGetFormSubmitInput("submit", "Login").
     "</form>\n";
 }