summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-07-07 14:30:22 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-07-07 16:59:28 +0200
commitc46006934c71888fe5c8ed8990b814eb80c68cf6 (patch)
treef7420689cb739f8f3bcffde37bf94cfebded7f3c
parente76b867c2c4704e6c760b80bcb9ac1354c29f54e (diff)
downloadnextcloud-server-c46006934c71888fe5c8ed8990b814eb80c68cf6.tar.gz
nextcloud-server-c46006934c71888fe5c8ed8990b814eb80c68cf6.zip
fix alignment of radio button and its label in encryption settings
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r--apps/encryption/templates/settings-personal.php18
-rw-r--r--settings/templates/settings/admin/encryption.php2
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']) {