]> source.dussan.org Git - nextcloud-server.git/commitdiff
Show label for password change in IE8
authorMorris Jobke <hey@morrisjobke.de>
Fri, 27 Mar 2015 00:16:31 +0000 (01:16 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Fri, 27 Mar 2015 00:16:31 +0000 (01:16 +0100)
* fixes #10729

settings/css/settings.css
settings/templates/personal.php

index 869a113762bfdc54e1a1d609f7479b05cac14943..c619bd7b9b30a04f2aa97a3c92aaedbb741be514 100644 (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;
-}
\ No newline at end of file
+}
index 1d5bf1fc54fa8fd643bc6b7690dfaa9e8a89ab7d..2a0b4bb0dc434e5c2629b4b4512a5eb279808a21 100644 (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"