diff options
Diffstat (limited to 'settings/templates/admin.php')
-rw-r--r-- | settings/templates/admin.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 4af53a649b8..9f16db0948d 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -140,13 +140,21 @@ if (!$_['internetconnectionworking']) { <tr> <td <?php if ($_['shareAPIEnabled'] == 'no') print_unescaped('style="display:none"');?>> <input type="checkbox" name="shareapi_allow_links" id="allowLinks" - value="1" <?php if ($_['allowLinks'] == 'yes') print_unescaped('checked="checked"'); ?> /> + value="1" <?php if ($_['allowLinks'] == 'yes') print_unescaped('checked="checked"'); ?> /> <label for="allowLinks"><?php p($l->t('Allow links'));?></label><br/> <em><?php p($l->t('Allow users to share items to the public with links')); ?></em> </td> </tr> <tr> <td <?php if ($_['shareAPIEnabled'] == 'no') print_unescaped('style="display:none"');?>> + <input type="checkbox" name="shareapi_allow_public_upload" id="allowPublicUpload" + value="1" <?php if ($_['allowPublicUpload'] == 'yes') print_unescaped('checked="checked"'); ?> /> + <label for="allowPublicUpload"><?php p($l->t('Allow anonymous uploads'));?></label><br/> + <em><?php p($l->t('Allow users to enable others to anonymously upload into their publicly shared folders')); ?></em> + </td> + </tr> + <tr> + <td <?php if ($_['shareAPIEnabled'] == 'no') print_unescaped('style="display:none"');?>> <input type="checkbox" name="shareapi_allow_resharing" id="allowResharing" value="1" <?php if ($_['allowResharing'] == 'yes') print_unescaped('checked="checked"'); ?> /> <label for="allowResharing"><?php p($l->t('Allow resharing'));?></label><br/> |