login - put keyboard focus on name input
This commit is contained in:
parent
6c47f262cc
commit
5b8c60d8f3
4
boot.php
4
boot.php
|
@ -846,9 +846,9 @@ function login($register = false) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// $o = '<script type="text/javascript"> $(document).ready(function() { $.("#login-name").focus();} );</script>';
|
$o = '<script type="text/javascript"> $(document).ready(function() { $("#login-name").focus();} );</script>';
|
||||||
|
|
||||||
$o = replace_macros($tpl,array(
|
$o .= replace_macros($tpl,array(
|
||||||
'$logout' => t('Logout'),
|
'$logout' => t('Logout'),
|
||||||
'$register_html' => $register_html,
|
'$register_html' => $register_html,
|
||||||
'$classname' => $classname,
|
'$classname' => $classname,
|
||||||
|
|
Loading…
Reference in a new issue