summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-03-27 01:16:31 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-03-27 01:16:31 +0100
commit3e8343c07c821a460d120b71abe2bd127192a719 (patch)
tree82a172cb6209624aa22d849ddbd4d44799d880de /settings
parent055c18a7b40135465d00932711dadebac147461c (diff)
downloadnextcloud-server-3e8343c07c821a460d120b71abe2bd127192a719.tar.gz
nextcloud-server-3e8343c07c821a460d120b71abe2bd127192a719.zip
Show label for password change in IE8
* fixes #10729
Diffstat (limited to 'settings')
-rw-r--r--settings/css/settings.css14
-rw-r--r--settings/templates/personal.php2
2 files changed, 15 insertions, 1 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 869a113762b..c619bd7b9b3 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 1d5bf1fc54f..2a0b4bb0dc4 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"