Fix recovery checkbox label to properly point

This commit is contained in:
Vincent Petry 2017-04-12 18:19:09 +02:00 committed by Joas Schilling
parent 5b5c3a1773
commit b92085f2c7
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 4 additions and 4 deletions

View File

@ -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>