Merge pull request #15259 from owncloud/fix-change-password-ie8

Show label for password change in IE8
This commit is contained in:
Vincent Petry 2015-03-27 14:11:14 +01:00
commit 4d57b7bb3c
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;

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"