add a hint that the admin can recover your files; Don't let the user change the recovery settings if no private key is set

This commit is contained in:
Björn Schießle 2013-06-05 18:53:02 +02:00
parent 58fd76607b
commit 7fc5151d95
1 changed files with 9 additions and 3 deletions

View File

@ -7,9 +7,15 @@
<?php if ( ! $_["privateKeySet"] ): ?>
<p>
<a name="changePKPasswd" />
<label for="changePrivateKeyPasswd"><?php p( $l->t( "Your private key password no longer match your log-in password:" ) ); ?></label>
<label for="changePrivateKeyPasswd">
<?php p( $l->t( "Your private key password no longer match your log-in password:" ) ); ?>
</label>
<br />
<em><?php p( $l->t( "Set your old private key password to your current log-in password." ) ); ?></em>
<em><?php p( $l->t( "Set your old private key password to your current log-in password." ) ); ?>
<?php if ( $_["recoveryEnabledForUser"] ):
p( $l->t( " If you don't remember your old password you can ask your administrator to recover your files." ) );
endif; ?>
</em>
<br />
<input
type="password"
@ -34,7 +40,7 @@
<br />
<?php if ( $_["recoveryEnabled"] ): ?>
<?php if ( $_["recoveryEnabled"] && $_["privateKeySet"] ): ?>
<p>
<label for="userEnableRecovery"><?php p( $l->t( "Enable password recovery:" ) ); ?></label>
<br />