diff --git a/settings/css/settings.css b/settings/css/settings.css index 869a113762bfdc54e1a1d609f7479b05cac14943..c619bd7b9b30a04f2aa97a3c92aaedbb741be514 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -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; -} \ No newline at end of file +} diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 1d5bf1fc54fa8fd643bc6b7690dfaa9e8a89ab7d..2a0b4bb0dc434e5c2629b4b4512a5eb279808a21 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -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"