diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-07-10 09:26:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-10 09:26:05 +0200 |
commit | c7b28064e3c8335312a644b94ced602a9f0fea0f (patch) | |
tree | 5be3cdde51ad32028ceb1c4aed1df1b24405b2d1 | |
parent | 4f7fafb5c5e153af76b307b53cd383f269b45fbb (diff) | |
parent | c46006934c71888fe5c8ed8990b814eb80c68cf6 (diff) | |
download | nextcloud-server-c7b28064e3c8335312a644b94ced602a9f0fea0f.tar.gz nextcloud-server-c7b28064e3c8335312a644b94ced602a9f0fea0f.zip |
Merge pull request #5649 from nextcloud/fix-5611
fix alignment of radio button and its label in encryption settings
-rw-r--r-- | apps/encryption/templates/settings-personal.php | 18 | ||||
-rw-r--r-- | settings/templates/settings/admin/encryption.php | 2 |
2 files changed, 11 insertions, 9 deletions
diff --git a/apps/encryption/templates/settings-personal.php b/apps/encryption/templates/settings-personal.php index 7d0a26eea93..05a720687aa 100644 --- a/apps/encryption/templates/settings-personal.php +++ b/apps/encryption/templates/settings-personal.php @@ -52,19 +52,21 @@ script('core', 'multiselect'); <em><?php p( $l->t( "Enabling this option will allow you to reobtain access to your encrypted files in case of password loss" ) ); ?></em> <br /> <input - type='radio' - id='userEnableRecoveryCheckbox' - name='userEnableRecovery' - value='1' + type="radio" + class="radio" + id="userEnableRecoveryCheckbox" + name="userEnableRecovery" + value="1" <?php echo ( $_["recoveryEnabledForUser"] ? 'checked="checked"' : '' ); ?> /> <label for="userEnableRecoveryCheckbox"><?php p( $l->t( "Enabled" ) ); ?></label> <br /> <input - type='radio' - id='userDisableRecoveryCheckbox' - name='userEnableRecovery' - value='0' + type="radio" + class="radio" + id="userDisableRecoveryCheckbox" + name="userEnableRecovery" + value="0" <?php echo ( $_["recoveryEnabledForUser"] === false ? 'checked="checked"' : '' ); ?> /> <label for="userDisableRecoveryCheckbox"><?php p( $l->t( "Disabled" ) ); ?></label> </p> diff --git a/settings/templates/settings/admin/encryption.php b/settings/templates/settings/admin/encryption.php index 1d956a8f7c1..8fc4e9ae13b 100644 --- a/settings/templates/settings/admin/encryption.php +++ b/settings/templates/settings/admin/encryption.php @@ -63,7 +63,7 @@ <h3><?php p($l->t('Select default encryption module:')) ?></h3> <fieldset id='encryptionModules'> <?php foreach ($_['encryptionModules'] as $id => $module): ?> - <input type="radio" id="<?php p($id) ?>" + <input type="radio" id="<?php p($id) ?>" class="radio" name="default_encryption_module" value="<?php p($id) ?>" <?php if ($module['default']) { |