server/apps/files_encryption/templates/settings-admin.php

67 lines
2.1 KiB
PHP
Raw Normal View History

2012-08-02 08:39:30 +00:00
<form id="encryption">
<fieldset class="personalblock">
2013-06-03 16:42:13 +00:00
<p>
2013-06-03 16:42:13 +00:00
<strong><?php p($l->t('Encryption')); ?></strong>
<br/>
</p>
2013-06-03 16:42:13 +00:00
<p>
<?php p($l->t("Enable recovery key (allow to recover users files in case of password loss):")); ?>
2013-06-03 16:42:13 +00:00
<br/>
<br/>
<input type="password" name="encryptionRecoveryPassword" id="encryptionRecoveryPassword"/>
<label for="recoveryPassword"><?php p($l->t("Recovery key password")); ?></label>
2013-06-03 16:42:13 +00:00
<br/>
<input type="password" name="encryptionRecoveryPassword" id="repeatEncryptionRecoveryPassword"/>
<label for="repeatEncryptionRecoveryPassword"><?php p($l->t("Repeat Recovery key password")); ?></label>
<br/>
2013-06-03 16:42:13 +00:00
<input
type='radio'
name='adminEnableRecovery'
value='1'
<?php echo($_["recoveryEnabled"] === '1' ? 'checked="checked"' : 'disabled'); ?> />
2013-06-03 16:42:13 +00:00
<?php p($l->t("Enabled")); ?>
<br/>
<input
type='radio'
name='adminEnableRecovery'
value='0'
<?php echo($_["recoveryEnabled"] === '0' ? 'checked="checked"' : 'disabled'); ?> />
2013-06-03 16:42:13 +00:00
<?php p($l->t("Disabled")); ?>
</p>
2013-06-03 16:42:13 +00:00
<br/><br/>
<p name="changeRecoveryPasswordBlock" <?php if ($_['recoveryEnabled'] === '0') print_unescaped('class="hidden"');?>>
<strong><?php p($l->t("Change recovery key password:")); ?></strong>
2013-06-03 16:42:13 +00:00
<br/><br/>
<input
type="password"
name="changeRecoveryPassword"
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 16:42:13 +00:00
<br/>
<input
type="password"
name="changeRecoveryPassword"
id="repeatedNewEncryptionRecoveryPassword"
<label for="repeatEncryptionRecoveryPassword"><?php p($l->t("Repeat New Recovery key password")); ?></label>
2013-06-03 16:42:13 +00:00
<br/>
<button
type="button"
name="submitChangeRecoveryKey"
2013-06-03 16:42:13 +00:00
disabled><?php p($l->t("Change Password")); ?>
</button>
<span class="msg"></span>
</p>
</fieldset>
</form>