summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-06-04 11:07:31 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-06-05 15:49:34 +0200
commit6578f00b4bcfbd5bc44bc12e341506f922498d7b (patch)
tree6ef948934965edb35a6852ca75144848844b7722 /settings/templates
parentcf9099c7885453bcf15e40cbed722f432dffa1fb (diff)
downloadnextcloud-server-6578f00b4bcfbd5bc44bc12e341506f922498d7b.tar.gz
nextcloud-server-6578f00b4bcfbd5bc44bc12e341506f922498d7b.zip
unify share settings
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index f0b72d0956e..ce33a804f54 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -278,12 +278,9 @@ if (!$_['internetconnectionworking']) {
</tr>
<tr>
<td <?php if ($_['shareAPIEnabled'] === 'no') print_unescaped('class="hidden"');?>>
- <input type="radio" name="shareapi_share_policy" id="sharePolicyGlobal"
- value="global" <?php if ($_['sharePolicy'] === 'global') print_unescaped('checked="checked"'); ?> />
- <label for="sharePolicyGlobal"><?php p($l->t('Allow users to share with anyone')); ?></label><br/>
- <input type="radio" name="shareapi_share_policy" id="sharePolicyGroupsOnly"
- value="groups_only" <?php if ($_['sharePolicy'] === 'groups_only') print_unescaped('checked="checked"'); ?> />
- <label for="sharePolicyGroupsOnly"><?php p($l->t('Allow users to only share with users in their groups'));?></label><br/>
+ <input type="checkbox" name="shareapi_only_share_with_group_members" id="onlyShareWithGroupMembers"
+ 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/>
</td>
</tr>
<tr>