2012-08-02 12:39:30 +04:00
|
|
|
<form id="encryption">
|
2013-01-22 21:15:03 +04:00
|
|
|
<fieldset class="personalblock">
|
2013-02-05 21:06:15 +04:00
|
|
|
<legend>
|
2013-05-07 18:17:38 +04:00
|
|
|
<?php p( $l->t( 'Encryption' ) ); ?>
|
2013-02-05 21:06:15 +04:00
|
|
|
</legend>
|
2013-05-01 21:18:31 +04:00
|
|
|
|
2013-01-22 21:15:03 +04:00
|
|
|
<p>
|
2013-05-07 18:17:38 +04:00
|
|
|
<!-- <?php p( $l->t( 'File encryption is enabled.' ) ); ?> -->
|
2013-01-22 21:15:03 +04:00
|
|
|
</p>
|
2013-02-05 21:06:15 +04:00
|
|
|
<?php if ( ! empty( $_["blacklist"] ) ): ?>
|
2013-02-05 21:22:59 +04:00
|
|
|
<p>
|
2013-05-07 18:17:38 +04:00
|
|
|
<strong>File types</strong>
|
|
|
|
<br />
|
|
|
|
<?php p( $l->t( 'The following file types will not be encrypted:' ) ); ?>
|
2013-02-05 21:22:59 +04:00
|
|
|
</p>
|
2013-05-01 21:18:31 +04:00
|
|
|
|
2013-02-05 21:06:15 +04:00
|
|
|
<ul>
|
|
|
|
<?php foreach( $_["blacklist"] as $type ): ?>
|
|
|
|
<li>
|
2013-02-28 00:20:37 +04:00
|
|
|
<?php p($type); ?>
|
2013-02-05 21:06:15 +04:00
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
2013-02-09 21:01:38 +04:00
|
|
|
</ul>
|
2013-02-05 21:06:15 +04:00
|
|
|
<?php endif; ?>
|
2013-05-07 18:17:38 +04:00
|
|
|
<br />
|
2013-05-04 18:14:38 +04:00
|
|
|
<?php if ( $_["recoveryEnabled"] ): ?>
|
|
|
|
<p>
|
2013-05-07 18:17:38 +04:00
|
|
|
<label for="userEnableRecovery"><?php p( $l->t( "Enable password recovery by sharing all files with administrator:" ) ); ?></label>
|
|
|
|
<br />
|
|
|
|
<em><?php p( $l->t( "Enabling this option will allow you to reobtain access to your encrypted files if your password is lost" ) ); ?></em>
|
2013-05-04 18:14:38 +04:00
|
|
|
<br />
|
|
|
|
<input
|
|
|
|
type='radio'
|
|
|
|
name='userEnableRecovery'
|
|
|
|
value='1'
|
|
|
|
<?php echo ( $_["recoveryEnabledForUser"] == 1 ? 'checked="checked"' : '' ); ?> />
|
2013-05-07 18:17:38 +04:00
|
|
|
<?php p( $l->t( "Enabled" ) ); ?>
|
2013-05-04 18:14:38 +04:00
|
|
|
<br />
|
|
|
|
|
|
|
|
<input
|
|
|
|
type='radio'
|
|
|
|
name='userEnableRecovery'
|
|
|
|
value='0'
|
|
|
|
<?php echo ( $_["recoveryEnabledForUser"] == 0 ? 'checked="checked"' : '' ); ?> />
|
2013-05-07 18:17:38 +04:00
|
|
|
<?php p( $l->t( "Disabled" ) ); ?>
|
|
|
|
<div id="recoveryEnabledSuccess"><?php p( $l->t( 'File recovery settings updated' ) ); ?></div>
|
|
|
|
<div id="recoveryEnabledError"><?php p( $l->t( 'Could not update file recovery' ) ); ?></div>
|
2013-05-04 18:14:38 +04:00
|
|
|
</p>
|
|
|
|
<?php endif; ?>
|
2013-05-07 18:17:38 +04:00
|
|
|
<br />
|
|
|
|
<p>
|
|
|
|
<label for="encryptAll"><?php p( $l->t( "Scan for unencrypted files and encrypt them" ) ); ?></label>
|
|
|
|
<br />
|
|
|
|
<em><?php p( $l->t( "Use this if you suspect that you still have files which are unencrypted, or encrypted using ownCloud 4 or older." ) ); ?></em>
|
|
|
|
<br />
|
|
|
|
<input type="submit" id="encryptAll" name="encryptAll" value="<?php p( $l->t( 'Scan and encrypt files' ) ); ?>" />
|
|
|
|
<input type="password" name="userPassword" id="userPassword" />
|
|
|
|
<label for="encryptAll"><?php p( $l->t( "Account password" ) ); ?></label>
|
|
|
|
<div id="encryptAllSuccess"><?php p( $l->t( 'Scan complete' ) );?></div>
|
|
|
|
<div id="encryptAllError"><?php p( $l->t( 'Unable to scan and encrypt files' ) );?></div>
|
|
|
|
</p>
|
2013-05-01 21:18:31 +04:00
|
|
|
|
2012-08-02 12:39:30 +04:00
|
|
|
</fieldset>
|
|
|
|
</form>
|