for new we cannot have nested settings, default module is only appended if available

This commit is contained in:
Arthur Schiwon 2016-08-16 18:26:16 +02:00
parent f76b64d3d7
commit 4946cc220d
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
2 changed files with 1 additions and 2 deletions

View File

@ -6,6 +6,7 @@ script('core', 'multiselect');
style('encryption', 'settings-admin');
?>
<form id="ocDefaultEncryptionModule" class="sub-section">
<h3><?php p($l->t("Default encryption module")); ?></h3>
<?php if(!$_["initStatus"]): ?>
<?php p($l->t("Encryption app is enabled but your keys are not initialized, please log-out and log-in again")); ?>
<?php else: ?>

View File

@ -72,8 +72,6 @@
<label
for="<?php p($id) ?>"><?php p($module['displayName']) ?></label>
<br/>
<?php if ($id === 'OC_DEFAULT_MODULE') print_unescaped($_['ocDefaultEncryptionModulePanel']); ?>
<?php endforeach; ?>
</fieldset>
<?php } ?>