summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/templates
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-08-09 14:25:09 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-08-09 14:25:09 +0200
commita969c23e59e26f2d82a1f8626444a59ae003c30e (patch)
treefa451b00e444d5b8394148d1ea69055f60b33fd5 /apps/files_encryption/templates
parent800942ece74ac336c4a9213228f14406d7e494f7 (diff)
downloadnextcloud-server-a969c23e59e26f2d82a1f8626444a59ae003c30e.tar.gz
nextcloud-server-a969c23e59e26f2d82a1f8626444a59ae003c30e.zip
disable admin choice of encryption mode once a decision was taken
Diffstat (limited to 'apps/files_encryption/templates')
-rw-r--r--apps/files_encryption/templates/settings.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/apps/files_encryption/templates/settings.php b/apps/files_encryption/templates/settings.php
index 4133f4573d0..e2a9bcc3be1 100644
--- a/apps/files_encryption/templates/settings.php
+++ b/apps/files_encryption/templates/settings.php
@@ -2,12 +2,14 @@
<fieldset class="personalblock">
<strong>Choose encryption mode:</strong>
-
+
+ <p><i>Important: Once you selected an encryption mode there is no way to change it back</i></p>
+
<p>
- <input type="radio" name="encryption_mode" value="client" style="width:20px;" <?php if ($_['encryption_mode'] == 'client') echo "checked='checked'"; if ($_['encryption_mode'] != 'none') echo "DISABLED"?>/> Client side encryption (most secure but makes it impossible to access your data from the web interface)<br />
- <input type="radio" name="encryption_mode" value="server" style="width:20px;" <?php if ($_['encryption_mode'] == 'server') echo "checked='checked'"; if ($_['encryption_mode'] != 'none') echo "DISABLED"?> /> Server side encryption (allows you to access your files from the web interface and the desktop client)<br />
- <input type="radio" name="encryption_mode" value="user" style="width:20px;" <?php if ($_['encryption_mode'] == 'user') echo "checked='checked'"; if ($_['encryption_mode'] != 'none') echo "DISABLED"?>/> User specific (let the user decide)<br/>
- <input type="radio" name="encryption_mode" value="none" style="width:20px;" <?php if ($_['encryption_mode'] == 'none') echo "checked='checked'"; if ($_['encryption_mode'] != 'none') echo "DISABLED"?>/> None (no encryption at all)<br/>
+ <input type="radio" name="encryption_mode" id="client_encryption" value="client" style="width:20px;" <?php if ($_['encryption_mode'] == 'client') echo "checked='checked'"; if ($_['encryption_mode'] != 'none') echo "DISABLED"?>/> Client side encryption (most secure but makes it impossible to access your data from the web interface)<br />
+ <input type="radio" name="encryption_mode" id="server_encryption" value="server" style="width:20px;" <?php if ($_['encryption_mode'] == 'server') echo "checked='checked'"; if ($_['encryption_mode'] != 'none') echo "DISABLED"?> /> Server side encryption (allows you to access your files from the web interface and the desktop client)<br />
+ <input type="radio" name="encryption_mode" id="user_encryption" value="user" style="width:20px;" <?php if ($_['encryption_mode'] == 'user') echo "checked='checked'"; if ($_['encryption_mode'] != 'none') echo "DISABLED"?>/> User specific (let the user decide)<br/>
+ <input type="radio" name="encryption_mode" id="none_encryption" value="none" style="width:20px;" <?php if ($_['encryption_mode'] == 'none') echo "checked='checked'"; if ($_['encryption_mode'] != 'none') echo "DISABLED"?>/> None (no encryption at all)<br/>
</p>
<p>
<strong><?php echo $l->t('Encryption'); ?></strong>