diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-10-07 12:06:46 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-10-07 12:32:09 +0200 |
commit | 5fa1cbc4e5aa0c0127713859291a0b14a8b8e348 (patch) | |
tree | 1fca9cf2185fb2b20be2b07b2d77d6606fc2c5bf /apps/files_encryption/templates | |
parent | 94a9ff1cd8b18577e16bde90146b0be84223d725 (diff) | |
download | nextcloud-server-5fa1cbc4e5aa0c0127713859291a0b14a8b8e348.tar.gz nextcloud-server-5fa1cbc4e5aa0c0127713859291a0b14a8b8e348.zip |
improved visual feedback if recovery key gets enabled/disabled
Diffstat (limited to 'apps/files_encryption/templates')
-rw-r--r-- | apps/files_encryption/templates/settings-admin.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/files_encryption/templates/settings-admin.php b/apps/files_encryption/templates/settings-admin.php index 2d5f7084c96..e97f64b6482 100644 --- a/apps/files_encryption/templates/settings-admin.php +++ b/apps/files_encryption/templates/settings-admin.php @@ -4,8 +4,9 @@ <?php if($_["initStatus"] === \OCA\Encryption\Session::NOT_INITIALIZED): ?> <?php p($l->t("Encryption App is enabled but your keys are not initialized, please log-out and log-in again")); ?> <?php else: ?> - <p> + <p id="encryptionSetRecoveryKey"> <?php p($l->t("Enable recovery key (allow to recover users files in case of password loss):")); ?> + <span class="msg"></span> <br/> <br/> <input type="password" name="encryptionRecoveryPassword" id="encryptionRecoveryPassword"/> @@ -19,7 +20,7 @@ id='adminEnableRecovery' name='adminEnableRecovery' value='1' - <?php echo($_["recoveryEnabled"] === '1' ? 'checked="checked"' : 'disabled'); ?> /> + <?php echo($_["recoveryEnabled"] === '1' ? 'checked="checked"' : ''); ?> /> <label for="adminEnableRecovery"><?php p($l->t("Enabled")); ?></label> <br/> @@ -28,7 +29,7 @@ id='adminDisableRecovery' name='adminEnableRecovery' value='0' - <?php echo($_["recoveryEnabled"] === '0' ? 'checked="checked"' : 'disabled'); ?> /> + <?php echo($_["recoveryEnabled"] === '0' ? 'checked="checked"' : ''); ?> /> <label for="adminDisableRecovery"><?php p($l->t("Disabled")); ?></label> </p> <br/><br/> @@ -57,8 +58,8 @@ <br/> <button type="button" - name="submitChangeRecoveryKey" - disabled><?php p($l->t("Change Password")); ?> + name="submitChangeRecoveryKey"> + <?php p($l->t("Change Password")); ?> </button> <span class="msg"></span> </p> |