2012-08-02 12:39:30 +04:00
|
|
|
<form id="encryption">
|
2012-02-23 01:20:46 +04:00
|
|
|
<fieldset class="personalblock">
|
2013-06-03 20:42:13 +04:00
|
|
|
|
2013-10-11 17:56:08 +04:00
|
|
|
<h2><?php p($l->t('Encryption')); ?></h2>
|
2013-06-03 20:42:13 +04:00
|
|
|
|
2013-03-30 00:11:29 +04:00
|
|
|
<p>
|
2013-06-21 16:47:31 +04:00
|
|
|
<?php p($l->t("Enable recovery key (allow to recover users files in case of password loss):")); ?>
|
2013-06-03 20:42:13 +04:00
|
|
|
<br/>
|
|
|
|
<br/>
|
2013-09-18 18:03:53 +04:00
|
|
|
<input type="password" name="encryptionRecoveryPassword" id="encryptionRecoveryPassword"/>
|
2013-06-21 16:47:31 +04:00
|
|
|
<label for="recoveryPassword"><?php p($l->t("Recovery key password")); ?></label>
|
2013-06-03 20:42:13 +04:00
|
|
|
<br/>
|
2013-09-18 18:03:53 +04:00
|
|
|
<input type="password" name="encryptionRecoveryPassword" id="repeatEncryptionRecoveryPassword"/>
|
|
|
|
<label for="repeatEncryptionRecoveryPassword"><?php p($l->t("Repeat Recovery key password")); ?></label>
|
|
|
|
<br/>
|
2013-06-03 20:42:13 +04:00
|
|
|
<input
|
|
|
|
type='radio'
|
|
|
|
name='adminEnableRecovery'
|
|
|
|
value='1'
|
2013-09-18 18:03:53 +04:00
|
|
|
<?php echo($_["recoveryEnabled"] === '1' ? 'checked="checked"' : 'disabled'); ?> />
|
2013-06-03 20:42:13 +04:00
|
|
|
<?php p($l->t("Enabled")); ?>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<input
|
|
|
|
type='radio'
|
|
|
|
name='adminEnableRecovery'
|
|
|
|
value='0'
|
2013-09-18 18:03:53 +04:00
|
|
|
<?php echo($_["recoveryEnabled"] === '0' ? 'checked="checked"' : 'disabled'); ?> />
|
2013-06-03 20:42:13 +04:00
|
|
|
<?php p($l->t("Disabled")); ?>
|
2013-03-30 00:11:29 +04:00
|
|
|
</p>
|
2013-06-03 20:42:13 +04:00
|
|
|
<br/><br/>
|
|
|
|
|
2013-09-18 18:03:53 +04:00
|
|
|
<p name="changeRecoveryPasswordBlock" <?php if ($_['recoveryEnabled'] === '0') print_unescaped('class="hidden"');?>>
|
2013-06-21 16:47:31 +04:00
|
|
|
<strong><?php p($l->t("Change recovery key password:")); ?></strong>
|
2013-06-03 20:42:13 +04:00
|
|
|
<br/><br/>
|
|
|
|
<input
|
2013-05-15 18:12:20 +04:00
|
|
|
type="password"
|
|
|
|
name="changeRecoveryPassword"
|
2013-09-18 18:03:53 +04:00
|
|
|
id="oldEncryptionRecoveryPassword"
|
|
|
|
<label for="oldEncryptionRecoveryPassword"><?php p($l->t("Old Recovery key password")); ?></label>
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
<input
|
|
|
|
type="password"
|
|
|
|
name="changeRecoveryPassword"
|
|
|
|
id="newEncryptionRecoveryPassword"
|
|
|
|
<label for="newEncryptionRecoveryPassword"><?php p($l->t("New Recovery key password")); ?></label>
|
2013-06-03 20:42:13 +04:00
|
|
|
<br/>
|
|
|
|
<input
|
2013-05-15 18:12:20 +04:00
|
|
|
type="password"
|
|
|
|
name="changeRecoveryPassword"
|
2013-09-18 18:03:53 +04:00
|
|
|
id="repeatedNewEncryptionRecoveryPassword"
|
|
|
|
<label for="repeatEncryptionRecoveryPassword"><?php p($l->t("Repeat New Recovery key password")); ?></label>
|
2013-06-03 20:42:13 +04:00
|
|
|
<br/>
|
2013-05-15 18:12:20 +04:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
name="submitChangeRecoveryKey"
|
2013-06-03 20:42:13 +04:00
|
|
|
disabled><?php p($l->t("Change Password")); ?>
|
2013-05-15 18:12:20 +04:00
|
|
|
</button>
|
|
|
|
<span class="msg"></span>
|
|
|
|
</p>
|
2012-02-23 01:20:46 +04:00
|
|
|
</fieldset>
|
|
|
|
</form>
|