diff options
author | Dan Bartram <daneybartram@gmail.com> | 2014-09-27 16:20:06 +0100 |
---|---|---|
committer | Dan Bartram <daneybartram@gmail.com> | 2014-09-27 16:20:06 +0100 |
commit | 1b9c31d349f2cd54bbfc544e091598b6adcf64ff (patch) | |
tree | 0b00c6e524d45ecefa24c61c1649cbff9522d3c9 /apps/files_encryption/templates/settings-admin.php | |
parent | cea70298f276f25c7f3561c9c7622960f4b610b2 (diff) | |
download | nextcloud-server-1b9c31d349f2cd54bbfc544e091598b6adcf64ff.tar.gz nextcloud-server-1b9c31d349f2cd54bbfc544e091598b6adcf64ff.zip |
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.
Diffstat (limited to 'apps/files_encryption/templates/settings-admin.php')
-rw-r--r-- | apps/files_encryption/templates/settings-admin.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_encryption/templates/settings-admin.php b/apps/files_encryption/templates/settings-admin.php index a97261dc1c9..2d5f7084c96 100644 --- a/apps/files_encryption/templates/settings-admin.php +++ b/apps/files_encryption/templates/settings-admin.php @@ -16,18 +16,20 @@ <br/> <input type='radio' + id='adminEnableRecovery' name='adminEnableRecovery' value='1' <?php echo($_["recoveryEnabled"] === '1' ? 'checked="checked"' : 'disabled'); ?> /> - <?php p($l->t("Enabled")); ?> + <label for="adminEnableRecovery"><?php p($l->t("Enabled")); ?></label> <br/> <input type='radio' + id='adminDisableRecovery' name='adminEnableRecovery' value='0' <?php echo($_["recoveryEnabled"] === '0' ? 'checked="checked"' : 'disabled'); ?> /> - <?php p($l->t("Disabled")); ?> + <label for="adminDisableRecovery"><?php p($l->t("Disabled")); ?></label> </p> <br/><br/> |