summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-09-09 17:06:50 +0200
committerVincent Petry <pvince81@owncloud.com>2014-09-09 18:03:05 +0200
commitd23621536c23f89785f6beea13cdc53ec2b9392f (patch)
tree29cde309ce00e235f635f90156dd0eb2a5a3341b /settings/templates
parent412da87e6583375f98ef1bdd755c56caab14b8ac (diff)
downloadnextcloud-server-d23621536c23f89785f6beea13cdc53ec2b9392f.tar.gz
nextcloud-server-d23621536c23f89785f6beea13cdc53ec2b9392f.zip
Now using select2 for the groups excluded from sharing
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 0e6cb14bcef..9ceebad4ee1 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -317,14 +317,7 @@ if ($_['suggestedOverwriteWebroot']) {
<label for="shareapiExcludeGroups"><?php p($l->t('Exclude groups from sharing'));?></label><br/>
</p>
<p id="selectExcludedGroups" class="indent <?php if (!$_['shareExcludeGroups'] || $_['shareAPIEnabled'] === 'no') p('hidden'); ?>">
- <select
- class="groupsselect"
- id="excludedGroups" data-placeholder="groups"
- title="<?php p($l->t('Groups'))?>" multiple="multiple">
- <?php foreach($_["groups"] as $group): ?>
- <option value="<?php p($group['gid'])?>" <?php if($group['excluded']) { p('selected="selected"'); }?>><?php p($group['gid']);?></option>
- <?php endforeach;?>
- </select>
+ <input name="shareapi_exclude_groups_list" type="hidden" id="excludedGroups" value="<?php p($_['shareExcludedGroupsList']) ?>" style="width: 400px"/>
<br />
<em><?php p($l->t('These groups will still be able to receive shares, but not to initiate them.')); ?></em>
</p>