Fix recovery checkbox label to properly point

pull/4517/head
Vincent Petry 8 years ago committed by Joas Schilling
parent 5b5c3a1773
commit b92085f2c7
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
  1. 8
      apps/encryption/templates/settings-personal.php

@ -53,20 +53,20 @@ script('core', 'multiselect');
<br />
<input
type='radio'
id='userEnableRecovery'
id='userEnableRecoveryCheckbox'
name='userEnableRecovery'
value='1'
<?php echo ( $_["recoveryEnabledForUser"] ? 'checked="checked"' : '' ); ?> />
<label for="userEnableRecovery"><?php p( $l->t( "Enabled" ) ); ?></label>
<label for="userEnableRecoveryCheckbox"><?php p( $l->t( "Enabled" ) ); ?></label>
<br />
<input
type='radio'
id='userDisableRecovery'
id='userDisableRecoveryCheckbox'
name='userEnableRecovery'
value='0'
<?php echo ( $_["recoveryEnabledForUser"] === false ? 'checked="checked"' : '' ); ?> />
<label for="userDisableRecovery"><?php p( $l->t( "Disabled" ) ); ?></label>
<label for="userDisableRecoveryCheckbox"><?php p( $l->t( "Disabled" ) ); ?></label>
</p>
<?php endif; ?>
</form>

Loading…
Cancel
Save