Blame view
sources/apps/files_encryption/templates/settings-admin.php
2.06 KB
|
03e52840d
|
1 2 |
<form id="encryption"> <fieldset class="personalblock"> |
|
31b7f2792
|
3 |
<h2><?php p($l->t('Encryption')); ?></h2>
|
|
03e52840d
|
4 5 |
<p> |
|
31b7f2792
|
6 |
<?php p($l->t("Enable recovery key (allow to recover users files in case of password loss):")); ?>
|
|
03e52840d
|
7 8 |
<br/> <br/> |
|
31b7f2792
|
9 10 11 12 13 |
<input type="password" name="encryptionRecoveryPassword" id="encryptionRecoveryPassword"/>
<label for="recoveryPassword"><?php p($l->t("Recovery key password")); ?></label>
<br/>
<input type="password" name="encryptionRecoveryPassword" id="repeatEncryptionRecoveryPassword"/>
<label for="repeatEncryptionRecoveryPassword"><?php p($l->t("Repeat Recovery key password")); ?></label>
|
|
03e52840d
|
14 15 16 17 18 |
<br/> <input type='radio' name='adminEnableRecovery' value='1' |
|
31b7f2792
|
19 |
<?php echo($_["recoveryEnabled"] === '1' ? 'checked="checked"' : 'disabled'); ?> /> |
|
03e52840d
|
20 21 22 23 24 25 26 |
<?php p($l->t("Enabled")); ?>
<br/>
<input
type='radio'
name='adminEnableRecovery'
value='0'
|
|
31b7f2792
|
27 |
<?php echo($_["recoveryEnabled"] === '0' ? 'checked="checked"' : 'disabled'); ?> /> |
|
03e52840d
|
28 29 30 |
<?php p($l->t("Disabled")); ?>
</p>
<br/><br/>
|
|
31b7f2792
|
31 32 |
<p name="changeRecoveryPasswordBlock" <?php if ($_['recoveryEnabled'] === '0') print_unescaped('class="hidden"');?>>
<strong><?php p($l->t("Change recovery key password:")); ?></strong>
|
|
03e52840d
|
33 34 35 36 |
<br/><br/> <input type="password" name="changeRecoveryPassword" |
|
31b7f2792
|
37 38 39 40 41 42 43 44 45 |
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>
|
|
03e52840d
|
46 47 48 49 |
<br/> <input type="password" name="changeRecoveryPassword" |
|
31b7f2792
|
50 51 |
id="repeatedNewEncryptionRecoveryPassword"
<label for="repeatEncryptionRecoveryPassword"><?php p($l->t("Repeat New Recovery key password")); ?></label>
|
|
03e52840d
|
52 53 54 55 56 57 58 59 60 61 |
<br/>
<button
type="button"
name="submitChangeRecoveryKey"
disabled><?php p($l->t("Change Password")); ?>
</button>
<span class="msg"></span>
</p>
</fieldset>
</form>
|