diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-12 19:03:51 +0400 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-12 19:03:51 +0400 |
commit | fc2d5383119f548f58b5000ebb94422b7feb08a7 (patch) | |
tree | ace8d4a7b0c08618de4daa1f1580ecaac039f26e /settings/templates | |
parent | 8ae2066b203e5420fa48d6717192db7e96343a2a (diff) |
new admin setting added which allows to turn off anonymous uploads
Diffstat (limited to 'settings/templates')
-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/> |