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 committed by Lukas Reschke
parent 8ef08e46e8
commit c5fdee2678
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
2 changed files with 1 additions and 2 deletions

View File

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

View File

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