Skip to content
Snippets Groups Projects
Commit b75ca9fb authored by Vincent Petry's avatar Vincent Petry
Browse files

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.
parent d744e2c1
No related branches found
No related tags found
No related merge requests found
...@@ -203,7 +203,6 @@ if (!$_['internetconnectionworking']) { ...@@ -203,7 +203,6 @@ if (!$_['internetconnectionworking']) {
<em><?php p($l->t('Allow users to share items to the public with links')); ?></em> <em><?php p($l->t('Allow users to share items to the public with links')); ?></em>
</td> </td>
</tr> </tr>
<?php if (!\OCP\App::isEnabled('files_encryption')) { ?>
<tr> <tr>
<td <?php if ($_['shareAPIEnabled'] == 'no') print_unescaped('class="hidden"');?>> <td <?php if ($_['shareAPIEnabled'] == 'no') print_unescaped('class="hidden"');?>>
<input type="checkbox" name="shareapi_allow_public_upload" id="allowPublicUpload" <input type="checkbox" name="shareapi_allow_public_upload" id="allowPublicUpload"
...@@ -212,7 +211,6 @@ if (!$_['internetconnectionworking']) { ...@@ -212,7 +211,6 @@ if (!$_['internetconnectionworking']) {
<em><?php p($l->t('Allow users to enable others to upload into their publicly shared folders')); ?></em> <em><?php p($l->t('Allow users to enable others to upload into their publicly shared folders')); ?></em>
</td> </td>
</tr> </tr>
<?php } ?>
<tr> <tr>
<td <?php if ($_['shareAPIEnabled'] === 'no') print_unescaped('class="hidden"');?>> <td <?php if ($_['shareAPIEnabled'] === 'no') print_unescaped('class="hidden"');?>>
<input type="checkbox" name="shareapi_allow_resharing" id="allowResharing" <input type="checkbox" name="shareapi_allow_resharing" id="allowResharing"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment