diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-12-06 17:56:34 +0400 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-12-06 17:56:34 +0400 |
commit | 9e05781ec22c3f4e6b89b188332242b03088736e (patch) | |
tree | d07f19e5f0135c413a5eba84bdc01055502cea66 /apps/files_external | |
parent | f96405e78adff44081dd703c14e9fa1da426fd4b (diff) |
[files_external] fix config gui for all users
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/templates/settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index 367ce2bc03e..fe69b0014a9 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -60,7 +60,7 @@ <?php if ($_['isAdminPage']): ?> <td class="applicable" align="right" data-applicable-groups='<?php if (isset($mount['applicable']['groups'])) echo json_encode($mount['applicable']['groups']); ?>' data-applicable-users='<?php if (isset($mount['applicable']['users'])) echo json_encode($mount['applicable']['users']); ?>'> <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)" <?php if (isset($mount['applicable']['groups']) && in_array($group, $mount['applicable']['groups'])) echo 'selected="selected"'; ?>><?php echo $group; ?></option> |