aboutsummaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-03-18 16:23:33 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-03-22 17:13:34 +0100
commit35024beb9c6b37db260d3994c73f2f432230932b (patch)
tree00defa7a0a92c365df1815771e9ffe073d60cd75 /settings/templates
parent6aa28037c7d611f91c4f5fa2e4df5b9ab9e51a54 (diff)
downloadnextcloud-server-35024beb9c6b37db260d3994c73f2f432230932b.tar.gz
nextcloud-server-35024beb9c6b37db260d3994c73f2f432230932b.zip
Add `allow sharing with groups` checkbox to admin page
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index a51b9aa16e2..2f4461589da 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -240,6 +240,11 @@ if ($_['cronErrors']) {
<label for="allowResharing"><?php p($l->t('Allow resharing'));?></label><br/>
</p>
<p class="<?php if ($_['shareAPIEnabled'] === 'no') p('hidden');?>">
+ <input type="checkbox" name="shareapi_allow_group_sharing" id="allowGroupSharing" class="checkbox"
+ value="1" <?php if ($_['allowGroupSharing'] === 'yes') print_unescaped('checked="checked"'); ?> />
+ <label for="allowGroupSharing"><?php p($l->t('Allow sharing with groups'));?></label><br />
+ </p>
+ <p class="<?php if ($_['shareAPIEnabled'] === 'no') p('hidden');?>">
<input type="checkbox" name="shareapi_only_share_with_group_members" id="onlyShareWithGroupMembers" class="checkbox"
value="1" <?php if ($_['onlyShareWithGroupMembers']) print_unescaped('checked="checked"'); ?> />
<label for="onlyShareWithGroupMembers"><?php p($l->t('Restrict users to only share with users in their groups'));?></label><br/>