summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-05-05 10:38:09 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-05-05 10:38:09 +0200
commit8f1e504d7974080381fed378f5335c9dd323e3bf (patch)
tree9a09f50dd467884f77ff26c94ce7e5940b52dd2b /settings/templates
parent6dc3682cc2fde9a508747f4af1e017a77d01faae (diff)
downloadnextcloud-server-8f1e504d7974080381fed378f5335c9dd323e3bf.tar.gz
nextcloud-server-8f1e504d7974080381fed378f5335c9dd323e3bf.zip
adjust wording and add button to confirm encryption
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 9938b6d01f0..7904c1de41b 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -319,15 +319,21 @@ if ($_['cronErrors']) {
href="<?php p(link_to_docs('admin-encryption')); ?>"></a>
<p id="enable">
- <input type="checkbox" name="encryption_enabled"
- id="encryptionEnabled"
+ <input type="checkbox"
+ id="enableEncryption"
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.')) ?>
+ <?php p($l->t('Encryption is a one way process. Once encryption is enabled,
+ all files from that point forward will be encrypted on the server and it
+ will not be possible to disable encryption at a later date. This is the final warning:
+ Do you really want to enable encryption?')) ?>
+ <input type="button"
+ id="reallyEnableEncryption"
+ value="<?php p($l->t("Enable encryption")); ?>" />
</div>
<div id="EncryptionSettingsArea" class="<?php if (!$_['encryptionEnabled']) p('hidden'); ?>">