Skip to content

Commit 2487b2f

Browse files
committed
Add autofocus to login form
1 parent 70c29fd commit 2487b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public_html/lists/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ function LoginPage($id, $userid, $email = '', $msg = '')
378378

379379
$html .= formStart('name="loginform"');
380380
$html .= '<table border=0>';
381-
$html .= '<tr><td>'.$GLOBALS['strEmail'].'</td><td><input type=text name="email" value="'.$email.'" size="30"></td></tr>';
381+
$html .= '<tr><td>'.$GLOBALS['strEmail'].'</td><td><input type=text name="email" value="'.$email.'" size="30" autofocus></td></tr>';
382382
$html .= '<tr><td>'.$GLOBALS['strPassword'].'</td><td><input type="password" name="password" value="'.$_POST['password'].'" size="30"></td></tr>';
383383
$html .= '</table>';
384384
$html .= '<p><input type=submit name="login" value="'.$GLOBALS['strLogin'].'"></p>';

0 commit comments

Comments
 (0)