Browse Source
fix alignment of radio button and its label in encryption settings
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/5649/head
Arthur Schiwon
8 years ago
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
2 changed files with
11 additions and
9 deletions
-
apps/encryption/templates/settings-personal.php
-
settings/templates/settings/admin/encryption.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> |
|
|
|
|
|
|
|
@ -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']) { |
|
|
|
|