Diff
Not logged in

Differences From:

File src/login.c part of check-in [7a2c37063a] - merge trunk into creole branch by bob on 2009-09-22 07:49:39. Also file src/login.c part of check-in [bbb8ae7ebf] - Make it harder to misconfigure the user accounts in a way that might give people greater access than intended. by drh on 2009-09-15 18:44:51. [view]

To:

File src/login.c part of check-in [7a39dde24b] - Clean up and merge updates from trunk by robert on 2009-09-26 08:17:33. Also file src/login.c part of check-in [ca08c1d1b3] - place the cursor in the username text box on the login screen. by rwilson on 2009-09-23 16:54:54. [view]

@@ -219,11 +219,11 @@
   @ <table align="left" hspace="10">
   @ <tr>
   @   <td align="right">User ID:</td>
   if( anonFlag ){
-    @   <td><input type="text" name="u" value="anonymous" size=30></td>
+    @   <td><input type="text" id="u" name="u" value="anonymous" size=30></td>
   }else{
-    @   <td><input type="text" name="u" value="" size=30></td>
+    @   <td><input type="text" id="u" name="u" value="" size=30></td>
   }
   @ </tr>
   @ <tr>
   @  <td align="right">Password:</td>
@@ -238,8 +238,9 @@
   @   <td></td>
   @   <td><input type="submit" name="in" value="Login"></td>
   @ </tr>
   @ </table>
+  @ <script>document.getElementById('u').focus()</script>
   if( g.zLogin==0 ){
     @ <p>Enter
   }else{
     @ <p>You are currently logged in as <b>%h(g.zLogin)</b></p>