Merge pull request #16026 from owncloud/enc_ux_improvements

[encryption] some small ux improvements
This commit is contained in:
Björn Schießle 2015-05-04 17:40:05 +02:00
commit ed16127a8d
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 else: ?>
<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>
<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/>
<input type="password" name="encryptionRecoveryPassword" id="encryptionRecoveryPassword"/>
<label for="recoveryPassword"><?php p($l->t("Recovery key password")); ?></label>
@ -27,7 +31,7 @@ script('core', 'multiselect');
name='adminEnableRecovery'
value='1'
<?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/>
<input
@ -36,7 +40,7 @@ script('core', 'multiselect');
name='adminEnableRecovery'
value='0'
<?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>
<br/><br/>