some small ux improvements

This commit is contained in:
Bjoern Schiessle 2015-05-04 10:51:08 +02:00
parent 7376ea9b26
commit f76c055244
1 changed files with 7 additions and 3 deletions

View File

@ -11,9 +11,13 @@ script('core', 'multiselect');
<?php p($l->t("Encryption App is enabled but your keys are not initialized, please log-out and log-in again")); ?> <?php p($l->t("Encryption App is enabled but your keys are not initialized, please log-out and log-in again")); ?>
<?php else: ?> <?php else: ?>
<p id="encryptionSetRecoveryKey"> <p id="encryptionSetRecoveryKey">
<?php p($l->t("Enable recovery key (allow to recover users files in case of password loss):")); ?> <?php p($l->t('Enable recovery key: ')); ?>
<span class="msg"></span> <span class="msg"></span>
<br/> <br/>
<em>
<?php p($l->t("The recovery key is an extra encryption key that is used
to encrypt files. It allows recovery of a user's files if the user forgets their password.")) ?>
</em>
<br/> <br/>
<input type="password" name="encryptionRecoveryPassword" id="encryptionRecoveryPassword"/> <input type="password" name="encryptionRecoveryPassword" id="encryptionRecoveryPassword"/>
<label for="recoveryPassword"><?php p($l->t("Recovery key password")); ?></label> <label for="recoveryPassword"><?php p($l->t("Recovery key password")); ?></label>
@ -27,7 +31,7 @@ script('core', 'multiselect');
name='adminEnableRecovery' name='adminEnableRecovery'
value='1' value='1'
<?php echo($_["recoveryEnabled"] === '1' ? 'checked="checked"' : ''); ?> /> <?php echo($_["recoveryEnabled"] === '1' ? 'checked="checked"' : ''); ?> />
<label for="adminEnableRecovery"><?php p($l->t("Enabled")); ?></label> <label for="adminEnableRecovery"><?php p($l->t("Enable recovery key")); ?></label>
<br/> <br/>
<input <input
@ -36,7 +40,7 @@ script('core', 'multiselect');
name='adminEnableRecovery' name='adminEnableRecovery'
value='0' value='0'
<?php echo($_["recoveryEnabled"] === '0' ? 'checked="checked"' : ''); ?> /> <?php echo($_["recoveryEnabled"] === '0' ? 'checked="checked"' : ''); ?> />
<label for="adminDisableRecovery"><?php p($l->t("Disabled")); ?></label> <label for="adminDisableRecovery"><?php p($l->t("Disable recovery key")); ?></label>
</p> </p>
<br/><br/> <br/><br/>