|
@@ -57,9 +57,9 @@ discard block |
|
|
block discarded – undo |
|
57
|
57
|
<div id="EncryptionSettingsArea" class="<?php if (!$_['encryptionEnabled']) p('hidden'); ?>"> |
|
58
|
58
|
<div id='selectEncryptionModules' class="<?php if (!$_['encryptionReady']) p('hidden'); ?>"> |
|
59
|
59
|
<?php |
|
60
|
|
- if (empty($_['encryptionModules'])) { |
|
61
|
|
- p($l->t('No encryption module loaded, please enable an encryption module in the app menu.')); |
|
62
|
|
- } else { ?> |
|
|
60
|
+ if (empty($_['encryptionModules'])) { |
|
|
61
|
+ p($l->t('No encryption module loaded, please enable an encryption module in the app menu.')); |
|
|
62
|
+ } else { ?> |
|
63
|
63
|
<h3><?php p($l->t('Select default encryption module:')) ?></h3> |
|
64
|
64
|
<fieldset id='encryptionModules'> |
|
65
|
65
|
<?php foreach ($_['encryptionModules'] as $id => $module): ?> |
|
@@ -67,8 +67,8 @@ discard block |
|
|
block discarded – undo |
|
67
|
67
|
name="default_encryption_module" |
|
68
|
68
|
value="<?php p($id) ?>" |
|
69
|
69
|
<?php if ($module['default']) { |
|
70
|
|
- p('checked'); |
|
71
|
|
- } ?>> |
|
|
70
|
+ p('checked'); |
|
|
71
|
+ } ?>> |
|
72
|
72
|
<label class="radio" |
|
73
|
73
|
for="<?php p($id) ?>"><?php p($module['displayName']) ?></label> |
|
74
|
74
|
<br/> |
|
@@ -78,10 +78,10 @@ discard block |
|
|
block discarded – undo |
|
78
|
78
|
</div> |
|
79
|
79
|
<div id="migrationWarning" class="<?php if ($_['encryptionReady']) p('hidden'); ?>"> |
|
80
|
80
|
<?php |
|
81
|
|
- if ($_['encryptionReady'] === false && $_['externalBackendsEnabled'] === true) { |
|
82
|
|
- p($l->t('You need to migrate your encryption keys from the old encryption (ownCloud <= 8.0) to the new one. Please enable the "Default encryption module" and run \'occ encryption:migrate\'')); |
|
83
|
|
- } elseif ($_['encryptionReady'] === false && $_['externalBackendsEnabled'] === false) { |
|
84
|
|
- p($l->t('You need to migrate your encryption keys from the old encryption (ownCloud <= 8.0) to the new one.')); ?> |
|
|
81
|
+ if ($_['encryptionReady'] === false && $_['externalBackendsEnabled'] === true) { |
|
|
82
|
+ p($l->t('You need to migrate your encryption keys from the old encryption (ownCloud <= 8.0) to the new one. Please enable the "Default encryption module" and run \'occ encryption:migrate\'')); |
|
|
83
|
+ } elseif ($_['encryptionReady'] === false && $_['externalBackendsEnabled'] === false) { |
|
|
84
|
+ p($l->t('You need to migrate your encryption keys from the old encryption (ownCloud <= 8.0) to the new one.')); ?> |
|
85
|
85
|
<input type="submit" name="startmigration" id="startmigration" |
|
86
|
86
|
value="<?php p($l->t('Start migration')); ?>"/> |
|
87
|
87
|
<?php } ?> |