summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/templates/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_encryption/templates/settings.php')
-rw-r--r--apps/files_encryption/templates/settings.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_encryption/templates/settings.php b/apps/files_encryption/templates/settings.php
index 80b3da84caa..38c89ecde34 100644
--- a/apps/files_encryption/templates/settings.php
+++ b/apps/files_encryption/templates/settings.php
@@ -4,9 +4,9 @@
<strong>Choose encryption mode:</strong>
<p>
- <input type="radio" name="encryption_mode" value="client" style="width:20px;" /> 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;" /> 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="none" style="width:20px; 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'"?>/> 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="none" style="width:20px;" <?php if ($_['encryption_mode'] == 'none') echo "checked='checked'"?>/> None (no encryption at all)<br/>
</p>
<p>
<strong><?php echo $l->t('Encryption'); ?></strong>