[files_external] fix config gui for all users

backport of 9e05781ec2
This commit is contained in:
Thomas Mueller 2013-02-11 15:49:49 +01:00
parent f512dea3be
commit 7776d047b2
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@
<select class="chzn-select"
multiple style="width:20em;"
data-placeholder="<?php echo $l->t('None set'); ?>">
<option value="all"><?php echo $l->t('All Users'); ?></option>
<option value="all" <?php if (isset($mount['applicable']['users']) && in_array('all', $mount['applicable']['users'])) echo 'selected="selected"';?> ><?php echo $l->t('All Users'); ?></option>
<optgroup label="<?php echo $l->t('Groups'); ?>">
<?php foreach ($_['groups'] as $group): ?>
<option value="<?php echo $group; ?>(group)"