added autofocus for password field
This commit is contained in:
parent
96fcbea888
commit
80809b3ceb
|
@ -71,6 +71,17 @@ echo $_SESSION['header'];
|
||||||
<link rel="stylesheet" type="text/css" href="../../style/layout.css">
|
<link rel="stylesheet" type="text/css" href="../../style/layout.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<?php
|
||||||
|
// set focus on password field
|
||||||
|
echo "<script type=\"text/javascript\" language=\"javascript\">\n";
|
||||||
|
echo "<!--\n";
|
||||||
|
echo "window.onload = function() {\n";
|
||||||
|
echo "loginField = document.getElementsByName('passwd')[0];\n";
|
||||||
|
echo "loginField.focus();\n";
|
||||||
|
echo "}\n";
|
||||||
|
echo "//-->\n";
|
||||||
|
echo "</script>\n";
|
||||||
|
?>
|
||||||
<p align="center"><a href="http://lam.sf.net" target="_blank">
|
<p align="center"><a href="http://lam.sf.net" target="_blank">
|
||||||
<img src="../../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
|
<img src="../../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue