Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-10 13:03:07 +0400
committerBjoern Schiessle <schiessle@owncloud.com>2013-07-29 15:36:06 +0400
commit2c8e5ec84ff98088fb9e3b275735098beaa5e27f (patch)
treee0cf14263f97b2b3296ca52a6422dbe74b0ad598 /settings/templates
parent48621115c10f62f776dbe41ad9a51c1ac360fc8c (diff)
user interface to allow user to decrypt all his files once the encryption app was disabled
Conflicts: settings/templates/personal.php
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index b9d9b09f5d0..c0f3600a51e 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -110,6 +110,24 @@ if($_['passwordChangeSupported']) {
print_unescaped($form);
};?>
+<?php if($_['enableDecryptAll']): ?>
+<form id="encryption">
+ <fieldset class="personalblock">
+ <legend>
+ <?php p( $l->t( 'Encryption' ) ); ?>
+ </legend>
+ <?php p($l->t( "The encryption app is no longer enabled, decrypt all your file" )); ?>
+ <p>
+ <button
+ type="button"
+ name="submitDecryptAll"><?php p($l->t( "Decrypt all Files" )); ?>
+ </button>
+ </p>
+ <br />
+ </fieldset>
+</form>
+<?php endif; ?>
+
<fieldset class="personalblock">
<legend><strong><?php p($l->t('Version'));?></strong></legend>
<strong><?php p($theme->getName()); ?></strong> <?php p(OC_Util::getVersionString()); ?><br/>