* API/Login: using tabindex to control tab succession on/in loginscreen.

This commit is contained in:
Klaus Leithoff 2012-01-26 11:57:17 +00:00
parent d401bcc3ad
commit a701566eda
2 changed files with 6 additions and 6 deletions

View File

@ -40,16 +40,16 @@
<!-- END remember_me_selection -->
<tr>
<td align="right">{lang_username}:&nbsp;</td>
<td><input name="login" tablindex="1" value="{cookie}" size="30" /></td>
<td><input name="login" tabindex="4" value="{cookie}" size="30" /></td>
</tr>
<tr>
<td align="right">{lang_password}:&nbsp;</td>
<td><input name="passwd" type="password" size="30" /></td>
<td><input name="passwd" tabindex="5" type="password" size="30" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type="submit" value=" {lang_login} " name="submitit" />
<input tabindex="6" type="submit" value=" {lang_login} " name="submitit" />
</td>
</tr>
<!-- BEGIN registration -->

View File

@ -315,7 +315,7 @@ egw.set_user('.$GLOBALS['egw']->accounts->json($GLOBALS['egw_info']['user']['acc
}
$tmpl->set_var(array(
'lang_domain' => lang('domain'),
'select_domain' => html::select('logindomain',$_COOKIE['last_domain'],$domains,true),
'select_domain' => html::select('logindomain',$_COOKIE['last_domain'],$domains,true,'tabindex="2"'),
));
}
else
@ -405,7 +405,7 @@ egw.set_user('.$GLOBALS['egw']->accounts->json($GLOBALS['egw_info']['user']['acc
$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),
translation::get_installed_langs(),true,'tabindex="1"'),
));
}
else
@ -430,7 +430,7 @@ egw.set_user('.$GLOBALS['egw']->accounts->json($GLOBALS['egw_info']['user']['acc
'1week'=> lang('1 Week'),
'1month' => lang('1 Month'),
'forever' => lang('Forever'),
),true));
),true,'tabindex="3"'));
}
else
{