diff options
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/admin.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 5edf4e2a9c7..9938b6d01f0 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -321,11 +321,15 @@ if ($_['cronErrors']) { <p id="enable"> <input type="checkbox" name="encryption_enabled" id="encryptionEnabled" - value="1" <?php if ($_['encryptionEnabled']) print_unescaped('checked="checked"'); ?> /> + value="1" <?php if ($_['encryptionEnabled']) print_unescaped('checked="checked" disabled="disabled"'); ?> /> <label for="encryptionEnabled"><?php p($l->t('Enable server-side encryption')); ?> <span id="startmigration_msg" class="msg"></span> </label><br/> </p> + <div id="EncryptionWarning" class="warning hidden"> + <?php p($l->t('Once encryption is enabled there is no way to disable it again. This is your last chance to disable it again.')) ?> + </div> + <div id="EncryptionSettingsArea" class="<?php if (!$_['encryptionEnabled']) p('hidden'); ?>"> <div id='selectEncryptionModules' class="<?php if (!$_['encryptionReady']) p('hidden'); ?>"> <?php |