]> source.dussan.org Git - nextcloud-server.git/commitdiff
Display admin option for public upload with encryption enabled
authorVincent Petry <pvince81@owncloud.com>
Tue, 18 Mar 2014 10:28:56 +0000 (11:28 +0100)
committerVincent Petry <pvince81@owncloud.com>
Tue, 18 Mar 2014 10:28:56 +0000 (11:28 +0100)
Now that public upload works with encryption, the admin option to toggle
it must be made visible.

settings/templates/admin.php

index 5ed42eab0ff80471e99e42bea2107e43f3a230c7..6e816c1fff6472b818fbc82b23d71095e5ea9374 100644 (file)
@@ -203,7 +203,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"
@@ -212,7 +211,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"