Set autofocus attribute to user in index.php
This commit is contained in:
parent
fe5e9208a3
commit
41261cf95f
|
@ -1,4 +1,7 @@
|
|||
v0.6 (11/10/2015)
|
||||
v0.6 (05/11/2015)
|
||||
** User **
|
||||
Set autofocus attribute to user in index.php
|
||||
|
||||
** Dev **
|
||||
Use transactions for SQL updates
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ if (!isset($_SESSION["user"]))
|
|||
$users = GetUsers();
|
||||
echo "<center><h1>KissCount</h1><br /><br/>\n";
|
||||
echo "<form id=\"login\" method=\"post\" action='index.php'>\n";
|
||||
echo "Login : <select name=\"user\">\n";
|
||||
echo "Login : <select name=\"user\" autofocus>\n";
|
||||
foreach($users as $i => $name)
|
||||
echo "<option value=\"$name\">$name</option>\n";
|
||||
echo "</select><br /><br />\n";
|
||||
|
@ -63,7 +63,7 @@ if (!isset($_SESSION["user"]))
|
|||
echo "<input type=\"submit\" value=\"Connect\"/>\n";
|
||||
echo "</form></center>\n";
|
||||
echo "<br /><br />\n";
|
||||
echo "<center><a href=\"http://indefero.soutade.fr/p/kisscount\">KissCount</a> © 2010-2012 Grégory Soutadé</center>\n";
|
||||
echo "<center><a href=\"http://indefero.soutade.fr/p/kisscount\">KissCount</a> © 2010-2015 Grégory Soutadé</center>\n";
|
||||
die();
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user