nextcloud/apps/files_encryption/templates/settings-personal.php

47 lines
1.1 KiB
PHP
Raw Normal View History

2012-08-02 12:39:30 +04:00
<form id="encryption">
<fieldset class="personalblock">
<legend>
<?php p($l->t( 'Encryption' )); ?>
</legend>
<p>
<?php p($l->t( 'File encryption is enabled.' )); ?>
</p>
<?php if ( ! empty( $_["blacklist"] ) ): ?>
2013-02-05 21:22:59 +04:00
<p>
<?php p($l->t( 'The following file types will not be encrypted:' )); ?>
2013-02-05 21:22:59 +04:00
</p>
<ul>
<?php foreach( $_["blacklist"] as $type ): ?>
<li>
<?php p($type); ?>
</li>
<?php endforeach; ?>
2013-02-09 21:01:38 +04:00
</ul>
<?php endif; ?>
<?php if ( $_["recoveryEnabled"] ): ?>
<p>
<?php p($l->t( "Enable password recovery by sharing all files with administrator:" )); ?>
<br />
<input
type='radio'
name='userEnableRecovery'
value='1'
<?php echo ( $_["recoveryEnabledForUser"] == 1 ? 'checked="checked"' : '' ); ?> />
<?php p($l->t( "Enabled" )); ?>
<br />
<input
type='radio'
name='userEnableRecovery'
value='0'
<?php echo ( $_["recoveryEnabledForUser"] == 0 ? 'checked="checked"' : '' ); ?> />
<?php p($l->t( "Disabled" )); ?>
</p>
<?php endif; ?>
2012-08-02 12:39:30 +04:00
</fieldset>
</form>