summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/templates
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-08-08 18:27:12 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-08-08 18:27:12 +0200
commita7cbc9e71398d5e08684ffdfd1f07e7d8defbf31 (patch)
tree1389971a53b8aa16c39999b88748642f7bff218e /apps/files_encryption/templates
parent5983643abdf0d451f46eed97ab34b486179c6d4a (diff)
downloadnextcloud-server-a7cbc9e71398d5e08684ffdfd1f07e7d8defbf31.tar.gz
nextcloud-server-a7cbc9e71398d5e08684ffdfd1f07e7d8defbf31.zip
lock system wide encryption settings once the admin took a decision
Diffstat (limited to 'apps/files_encryption/templates')
-rw-r--r--apps/files_encryption/templates/settings.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_encryption/templates/settings.php b/apps/files_encryption/templates/settings.php
index 2a3c1fd5bdf..4133f4573d0 100644
--- a/apps/files_encryption/templates/settings.php
+++ b/apps/files_encryption/templates/settings.php
@@ -4,10 +4,10 @@
<strong>Choose encryption mode:</strong>
<p>
- <input type="radio" name="encryption_mode" value="client" style="width:20px;" <?php if ($_['encryption_mode'] == 'client') echo "checked='checked'"?>/> 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'"?> /> 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'"?>/> 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'"?>/> None (no encryption at all)<br/>
+ <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/>
</p>
<p>
<strong><?php echo $l->t('Encryption'); ?></strong>