summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-07-14 21:58:08 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-07-14 21:58:08 +0200
commit79d23463f82d70fc7b3aff176d0de8154720f480 (patch)
tree47ffd297ad32989eb0e870d8314e904ca4ba257f /settings
parentc3e16a73883c967934abfa8dd5565b862df3489c (diff)
downloadnextcloud-server-79d23463f82d70fc7b3aff176d0de8154720f480.tar.gz
nextcloud-server-79d23463f82d70fc7b3aff176d0de8154720f480.zip
No admin option to enable public upload in case encryption is enabled
No upload on pubic page if public upload is disabled
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/admin.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 9f16db0948d..6c4fddd375d 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -145,6 +145,7 @@ 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('style="display:none"');?>>
<input type="checkbox" name="shareapi_allow_public_upload" id="allowPublicUpload"
@@ -153,6 +154,7 @@ if (!$_['internetconnectionworking']) {
<em><?php p($l->t('Allow users to enable others to anonymously upload into their publicly shared folders')); ?></em>
</td>
</tr>
+ <?php } ?>
<tr>
<td <?php if ($_['shareAPIEnabled'] == 'no') print_unescaped('style="display:none"');?>>
<input type="checkbox" name="shareapi_allow_resharing" id="allowResharing"