1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <form id="encryption">
- <fieldset class="personalblock">
- <p>
- <strong><?php p($l->t('Encryption')); ?></strong>
- <br/>
- </p>
- <p>
- <?php p($l->t("Enable recovery key (allow to recover users files in case of password loss):")); ?>
- <br/>
- <br/>
- <input type="password" name="recoveryPassword" id="recoveryPassword"/>
- <label for="recoveryPassword"><?php p($l->t("Recovery key password")); ?></label>
- <br/>
- <input
- type='radio'
- name='adminEnableRecovery'
- value='1'
- <?php echo($_["recoveryEnabled"] == 1 ? 'checked="checked"' : 'disabled'); ?> />
- <?php p($l->t("Enabled")); ?>
- <br/>
- <input
- type='radio'
- name='adminEnableRecovery'
- value='0'
- <?php echo($_["recoveryEnabled"] == 0 ? 'checked="checked"' : 'disabled'); ?> />
- <?php p($l->t("Disabled")); ?>
- </p>
- <br/><br/>
- <p>
- <strong><?php p($l->t("Change recovery key password:")); ?></strong>
- <br/><br/>
- <input
- type="password"
- name="changeRecoveryPassword"
- id="oldRecoveryPassword"
- <?php echo($_["recoveryEnabled"] == 0 ? 'disabled' : ''); ?> />
- <label for="oldRecoveryPassword"><?php p($l->t("Old Recovery key password")); ?></label>
- <br/>
- <input
- type="password"
- name="changeRecoveryPassword"
- id="newRecoveryPassword"
- <?php echo($_["recoveryEnabled"] == 0 ? 'disabled' : ''); ?> />
- <label for="newRecoveryPassword"><?php p($l->t("New Recovery key password")); ?></label>
- <br/>
- <button
- type="button"
- name="submitChangeRecoveryKey"
- disabled><?php p($l->t("Change Password")); ?>
- </button>
- <span class="msg"></span>
- </p>
- </fieldset>
- </form>
|