Display admin option for public upload with encryption enabled

Now that public upload works with encryption, the admin option to toggle
it must be made visible.

Backport of b75ca9f from master
This commit is contained in:
Vincent Petry 2014-03-18 11:28:56 +01:00
parent 58db31e61e
commit 2cb342c3b8
1 changed files with 0 additions and 2 deletions

View File

@ -178,7 +178,6 @@ if (!$_['internetconnectionworking']) {
<em><?php p($l->t('Allow users to share items to the public with links')); ?></em>
</td>
</tr>
<?php if (!\OCP\App::isEnabled('files_encryption')) { ?>
<tr>
<td <?php if ($_['shareAPIEnabled'] == 'no') print_unescaped('class="hidden"');?>>
<input type="checkbox" name="shareapi_allow_public_upload" id="allowPublicUpload"
@ -187,7 +186,6 @@ if (!$_['internetconnectionworking']) {
<em><?php p($l->t('Allow users to enable others to upload into their publicly shared folders')); ?></em>
</td>
</tr>
<?php } ?>
<tr>
<td <?php if ($_['shareAPIEnabled'] === 'no') print_unescaped('class="hidden"');?>>
<input type="checkbox" name="shareapi_allow_resharing" id="allowResharing"