mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
remove inline script from login page: using html5 autofocus, instead of inline focus() and no chosen
This commit is contained in:
parent
2a52826ad2
commit
5dc6ae9728
@ -373,7 +373,7 @@ abstract class egw_framework
|
||||
}
|
||||
$tmpl->set_var(array(
|
||||
'lang_domain' => lang('domain'),
|
||||
'select_domain' => html::select('logindomain',$_COOKIE['last_domain'],$domains,true,'tabindex="2"'),
|
||||
'select_domain' => html::select('logindomain',$_COOKIE['last_domain'],$domains,true,'tabindex="2"',0,false),
|
||||
));
|
||||
}
|
||||
else
|
||||
@ -464,7 +464,7 @@ abstract class egw_framework
|
||||
$tmpl->set_var(array(
|
||||
'lang_language' => lang('Language'),
|
||||
'select_language' => html::select('lang',$GLOBALS['egw_info']['user']['preferences']['common']['lang'],
|
||||
translation::get_installed_langs(),true,'tabindex="1"'),
|
||||
translation::get_installed_langs(),true,'tabindex="1"',0,false),
|
||||
));
|
||||
}
|
||||
else
|
||||
@ -489,7 +489,7 @@ abstract class egw_framework
|
||||
'1week'=> lang('1 Week'),
|
||||
'1month' => lang('1 Month'),
|
||||
'forever' => lang('Forever'),
|
||||
),true,'tabindex="3"'));
|
||||
),true,'tabindex="3"',0,false));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -499,8 +499,6 @@ abstract class egw_framework
|
||||
}
|
||||
$tmpl->set_var('autocomplete', ($GLOBALS['egw_info']['server']['autocomplete_login'] ? 'autocomplete="off"' : ''));
|
||||
|
||||
$GLOBALS['egw']->js->set_onload('document.login_form.login.focus();');
|
||||
|
||||
// load jquery for login screen too
|
||||
self::validate_file('jquery', 'jquery');
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
<!-- END remember_me_selection -->
|
||||
<tr>
|
||||
<td align="right">{lang_username}: </td>
|
||||
<td><input name="login" tabindex="4" value="{cookie}" size="30" /></td>
|
||||
<td><input name="login" tabindex="4" value="{cookie}" size="30" autofocus /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">{lang_password}: </td>
|
||||
|
Loading…
Reference in New Issue
Block a user