diff options
Diffstat (limited to 'plugins/Login/templates/login.tpl')
-rw-r--r-- | plugins/Login/templates/login.tpl | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/plugins/Login/templates/login.tpl b/plugins/Login/templates/login.tpl index 5b2cb472a6..956f8d4bc8 100644 --- a/plugins/Login/templates/login.tpl +++ b/plugins/Login/templates/login.tpl @@ -1,10 +1,10 @@ {include file="Login/templates/header.tpl"} -<div id="login"> +<section id="login"> {* untrusted host warning *} {if isset($isValidHost) && isset($invalidHostMessage) && !$isValidHost} -<div id="login_error" style='width:400px'> +<div id="login_error"> <strong>{'General_Warning'|translate}: </strong>{$invalidHostMessage} <br><br>{$invalidHostMessageHowToFix} @@ -31,16 +31,17 @@ {/if} </div> -<form id="login_form" {$form_data.attributes}> +<form {$form_data.attributes}> <h1>{'Login_LogIn'|translate}</h1> <fieldset class="inputs"> - <input type="text" name="form_login" id="login_form_login" class="input" value="" size="20" tabindex="10" placeholder="{'General_Username'|translate}" /> + <input type="text" name="form_login" id="login_form_login" class="input" value="" size="20" tabindex="10" placeholder="{'General_Username'|translate}" autofocus="autofocus" /> <input type="password" name="form_password" id="login_form_password" class="input" value="" size="20" tabindex="20" placeholder="{'Login_Password'|translate}" /> <input type="hidden" name="form_nonce" id="login_form_nonce" value="{$nonce}" /> </fieldset> <fieldset class="actions"> - <label><input name="form_rememberme" type="checkbox" id="login_form_rememberme" value="1" tabindex="90" {if $form_data.form_rememberme.value}checked="checked" {/if}/> {'Login_RememberMe'|translate}</label> + <input name="form_rememberme" type="checkbox" id="login_form_rememberme" value="1" tabindex="90" {if $form_data.form_rememberme.value}checked="checked" {/if}/> + <label for="login_form_rememberme">{'Login_RememberMe'|translate}</label> <input class="submit" id='login_form_submit' type="submit" value="{'Login_LogIn'|translate}" tabindex="100" /> </fieldset> </form> @@ -48,15 +49,15 @@ <form id="reset_form" style="display:none;"> <fieldset class="inputs"> <input type="text" name="form_login" id="reset_form_login" class="input" value="" size="20" tabindex="10" placeholder="{'Login_LoginOrEmail'|translate}" /> - <input type="hidden" name="form_nonce" id="reset_form_nonce" value="{$nonce}" /></label> + <input type="hidden" name="form_nonce" id="reset_form_nonce" value="{$nonce}" /> - <input type="password" name="form_password" id="reset_form_password" class="input" value="" size="20" tabindex="20" placeholder="{'Login_Password'|translate}" /></label> + <input type="password" name="form_password" id="reset_form_password" class="input" value="" size="20" tabindex="20" placeholder="{'Login_Password'|translate}" /> - <input type="password" name="form_password_bis" id="reset_form_password_bis" class="input" value="" size="20" tabindex="30" placeholder="{'Login_PasswordRepeat'|translate}" /></label> + <input type="password" name="form_password_bis" id="reset_form_password_bis" class="input" value="" size="20" tabindex="30" placeholder="{'Login_PasswordRepeat'|translate}" /> </fieldset> <fieldset class="actions"> - <span class="loadingPiwik" style="display:none;"><img src="themes/default/images/loading-blue.gif" /></span> + <span class="loadingPiwik" style="display:none;"><img alt="Loading" src="themes/default/images/loading-blue.gif" /></span> <input class="submit" id='reset_form_submit' type="submit" value="{'Login_ChangePassword'|translate}" tabindex="100"/> </fieldset> @@ -79,6 +80,6 @@ <p class="message">{'Login_ResetPasswordInstructions'|translate}</p> </div> {/if} -</div> +</section> </body> </html> |