diff options
author | Sam Tuke <samtuke@owncloud.com> | 2013-05-01 19:18:31 +0200 |
---|---|---|
committer | Sam Tuke <samtuke@owncloud.com> | 2013-05-01 19:21:01 +0200 |
commit | ba29147e34a22142c4bfd2afa3f5b9f1e6efcd63 (patch) | |
tree | 643e10cc813c815253c78d4ab6650c42a8986c91 /apps/files_encryption/templates | |
parent | d3db4ee103903e97ec2cfb8430b14699f1f6e8ae (diff) | |
download | nextcloud-server-ba29147e34a22142c4bfd2afa3f5b9f1e6efcd63.tar.gz nextcloud-server-ba29147e34a22142c4bfd2afa3f5b9f1e6efcd63.zip |
Fixed recoveryadmin settings in user and admin settings pages (js, templates, ajax)
Renamed recovery methods in Util{} for clarity
Added note about bug causing slow page load and redundant keypair generation
recoveryAdmin functionality not yet complete
Diffstat (limited to 'apps/files_encryption/templates')
-rw-r--r-- | apps/files_encryption/templates/settings-admin.php (renamed from apps/files_encryption/templates/settings.php) | 0 | ||||
-rw-r--r-- | apps/files_encryption/templates/settings-personal.php | 22 |
2 files changed, 22 insertions, 0 deletions
diff --git a/apps/files_encryption/templates/settings.php b/apps/files_encryption/templates/settings-admin.php index 6499d0c8e80..6499d0c8e80 100644 --- a/apps/files_encryption/templates/settings.php +++ b/apps/files_encryption/templates/settings-admin.php diff --git a/apps/files_encryption/templates/settings-personal.php b/apps/files_encryption/templates/settings-personal.php index 5f0accaed5f..0cefde36b61 100644 --- a/apps/files_encryption/templates/settings-personal.php +++ b/apps/files_encryption/templates/settings-personal.php @@ -3,6 +3,7 @@ <legend>
<?php p($l->t( 'Encryption' )); ?>
</legend>
+
<p>
<?php p($l->t( 'File encryption is enabled.' )); ?>
</p>
@@ -10,6 +11,7 @@ <p>
<?php p($l->t( 'The following file types will not be encrypted:' )); ?>
</p>
+
<ul>
<?php foreach( $_["blacklist"] as $type ): ?>
<li>
@@ -18,5 +20,25 @@ <?php endforeach; ?>
</ul>
<?php endif; ?>
+
+ <p>
+ <?php p($l->t( "Enable password recovery by sharing all files with administrator:" )); ?>
+ <br />
+ <input
+ type='radio'
+ name='userEnableRecovery'
+ value='1'
+ <?php echo ( $_["recoveryEnabled"] == 1 ? 'checked="checked"' : '' ); ?> />
+ <?php p($l->t( "Enabled" )); ?>
+ <br />
+
+ <input
+ type='radio'
+ name='userEnableRecovery'
+ value='0'
+ <?php echo ( $_["recoveryEnabled"] == 0 ? 'checked="checked"' : '' ); ?> />
+ <?php p($l->t( "Disabled" )); ?>
+ </p>
+
</fieldset>
</form>
|