Add clickable labels to encryption recovery radios
Add clickable radio button labels to the encryption recovery settings pages: * settings-admin * settings-personal Pressing on the radio button text now toggles the state of the radio button.
This commit is contained in:
parent
cea70298f2
commit
1b9c31d349
|
@ -16,18 +16,20 @@
|
||||||
<br/>
|
<br/>
|
||||||
<input
|
<input
|
||||||
type='radio'
|
type='radio'
|
||||||
|
id='adminEnableRecovery'
|
||||||
name='adminEnableRecovery'
|
name='adminEnableRecovery'
|
||||||
value='1'
|
value='1'
|
||||||
<?php echo($_["recoveryEnabled"] === '1' ? 'checked="checked"' : 'disabled'); ?> />
|
<?php echo($_["recoveryEnabled"] === '1' ? 'checked="checked"' : 'disabled'); ?> />
|
||||||
<?php p($l->t("Enabled")); ?>
|
<label for="adminEnableRecovery"><?php p($l->t("Enabled")); ?></label>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
type='radio'
|
type='radio'
|
||||||
|
id='adminDisableRecovery'
|
||||||
name='adminEnableRecovery'
|
name='adminEnableRecovery'
|
||||||
value='0'
|
value='0'
|
||||||
<?php echo($_["recoveryEnabled"] === '0' ? 'checked="checked"' : 'disabled'); ?> />
|
<?php echo($_["recoveryEnabled"] === '0' ? 'checked="checked"' : 'disabled'); ?> />
|
||||||
<?php p($l->t("Disabled")); ?>
|
<label for="adminDisableRecovery"><?php p($l->t("Disabled")); ?></label>
|
||||||
</p>
|
</p>
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|
||||||
|
|
|
@ -46,18 +46,20 @@
|
||||||
<br />
|
<br />
|
||||||
<input
|
<input
|
||||||
type='radio'
|
type='radio'
|
||||||
|
id='userEnableRecovery'
|
||||||
name='userEnableRecovery'
|
name='userEnableRecovery'
|
||||||
value='1'
|
value='1'
|
||||||
<?php echo ( $_["recoveryEnabledForUser"] ? 'checked="checked"' : '' ); ?> />
|
<?php echo ( $_["recoveryEnabledForUser"] ? 'checked="checked"' : '' ); ?> />
|
||||||
<?php p( $l->t( "Enabled" ) ); ?>
|
<label for="userEnableRecovery"><?php p( $l->t( "Enabled" ) ); ?></label>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<input
|
<input
|
||||||
type='radio'
|
type='radio'
|
||||||
|
id='userDisableRecovery'
|
||||||
name='userEnableRecovery'
|
name='userEnableRecovery'
|
||||||
value='0'
|
value='0'
|
||||||
<?php echo ( $_["recoveryEnabledForUser"] === false ? 'checked="checked"' : '' ); ?> />
|
<?php echo ( $_["recoveryEnabledForUser"] === false ? 'checked="checked"' : '' ); ?> />
|
||||||
<?php p( $l->t( "Disabled" ) ); ?>
|
<label for="userDisableRecovery"><?php p( $l->t( "Disabled" ) ); ?></label>
|
||||||
<div id="recoveryEnabledSuccess"><?php p( $l->t( 'File recovery settings updated' ) ); ?></div>
|
<div id="recoveryEnabledSuccess"><?php p( $l->t( 'File recovery settings updated' ) ); ?></div>
|
||||||
<div id="recoveryEnabledError"><?php p( $l->t( 'Could not update file recovery' ) ); ?></div>
|
<div id="recoveryEnabledError"><?php p( $l->t( 'Could not update file recovery' ) ); ?></div>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue