Show label for password change in IE8

* fixes #10729
This commit is contained in:
Morris Jobke 2015-03-27 01:16:31 +01:00
parent 055c18a7b4
commit 3e8343c07c
2 changed files with 15 additions and 1 deletions

View File

@ -370,6 +370,18 @@ span.error {
margin-top: -7px;
}
.ie8 .strengthify-wrapper {
left: 389px;
}
.onlyInIE8 {
display: none;
}
.ie8 .onlyInIE8 {
display: inline;
}
/* OPERA hack for strengthify*/
doesnotexist:-o-prefocus, .strengthify-wrapper {
left: 185px;
@ -415,4 +427,4 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
#encryptionModules {
padding: 10px;
}
}

View File

@ -73,9 +73,11 @@ if($_['passwordChangeSupported']) {
<div class="hidden icon-checkmark" id="password-changed"></div>
<div class="hidden" id="password-error"><?php p($l->t('Unable to change your password'));?></div>
<br>
<label for="pass1" class="onlyInIE8"><?php echo $l->t('Current password');?>: </label>
<input type="password" id="pass1" name="oldpassword"
placeholder="<?php echo $l->t('Current password');?>"
autocomplete="off" autocapitalize="off" autocorrect="off" />
<label for="pass2" class="onlyInIE8"><?php echo $l->t('New password');?>: </label>
<input type="password" id="pass2" name="personal-password"
placeholder="<?php echo $l->t('New password');?>"
data-typetoggle="#personal-show"