]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix alignment of radio button and its label in encryption settings 5667/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 7 Jul 2017 12:30:22 +0000 (14:30 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 10 Jul 2017 09:02:16 +0000 (11:02 +0200)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
apps/encryption/templates/settings-personal.php
settings/templates/admin/encryption.php

index 7d0a26eea93ef04c24c0fc7d7917a2f3b8c535d8..05a720687aa8cc1359941d0d2040fd8af113f0af 100644 (file)
@@ -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>
index 1d956a8f7c1869740e0d35f607615a581769e03a..8fc4e9ae13bf67e957d17e6feb5d7463fdc04da6 100644 (file)
@@ -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']) {