diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-06-25 11:40:16 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-11 10:11:41 +0200 |
commit | c8631d607ef827f0eb29312faf7b2b808e1a8e7d (patch) | |
tree | 1ef1aec833e6f6ada8c77c3388a5ff059175b039 /apps/federatedfilesharing/templates | |
parent | a22bc0e78758a86000b1023c93e554ebca696493 (diff) | |
download | nextcloud-server-c8631d607ef827f0eb29312faf7b2b808e1a8e7d.tar.gz nextcloud-server-c8631d607ef827f0eb29312faf7b2b808e1a8e7d.zip |
add setting to enable/disable federated group sharing
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/federatedfilesharing/templates')
-rw-r--r-- | apps/federatedfilesharing/templates/settings-admin.php | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/templates/settings-admin.php b/apps/federatedfilesharing/templates/settings-admin.php index 187d75f21ac..1b9b88dc03e 100644 --- a/apps/federatedfilesharing/templates/settings-admin.php +++ b/apps/federatedfilesharing/templates/settings-admin.php @@ -23,7 +23,6 @@ script('federatedfilesharing', 'settings-admin'); <?php p($l->t('Allow users on this server to send shares to other servers'));?> </label> </p> - <p> <input type="checkbox" name="incoming_server2server_share_enabled" id="incomingServer2serverShareEnabled" class="checkbox" value="1" <?php if ($_['incomingServer2serverShareEnabled']) print_unescaped('checked="checked"'); ?> /> @@ -31,6 +30,22 @@ script('federatedfilesharing', 'settings-admin'); <?php p($l->t('Allow users on this server to receive shares from other servers'));?> </label><br/> </p> + <?php if($_['federatedGroupSharingSupported']): ?> + <p> + <input type="checkbox" name="outgoing_server2server_group_share_enabled" id="outgoingServer2serverGroupShareEnabled" class="checkbox" + value="1" <?php if ($_['outgoingServer2serverGroupShareEnabled']) print_unescaped('checked="checked"'); ?> /> + <label for="outgoingServer2serverGroupShareEnabled"> + <?php p($l->t('Allow users on this server to send shares to groups on other servers'));?> + </label> + </p> + <p> + <input type="checkbox" name="incoming_server2server_group_share_enabled" id="incomingServer2serverGroupShareEnabled" class="checkbox" + value="1" <?php if ($_['incomingServer2serverGroupShareEnabled']) print_unescaped('checked="checked"'); ?> /> + <label for="incomingServer2serverGroupShareEnabled"> + <?php p($l->t('Allow users on this server to receive group shares from other servers'));?> + </label><br/> + </p> + <?php endif; ?> <p> <input type="checkbox" name="lookupServerEnabled" id="lookupServerEnabled" class="checkbox" value="1" <?php if ($_['lookupServerEnabled']) print_unescaped('checked="checked"'); ?> /> |