diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-04-01 14:28:33 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-04-01 14:31:22 +0200 |
commit | acfb3cfff544096342b9d44410bcb74bbffec99a (patch) | |
tree | 3000ba029e2e3de6c9d05023704618b80cd3f490 /apps | |
parent | 0a112de676ab41579a40eb04d4f8b0cc96b326a7 (diff) | |
download | nextcloud-server-acfb3cfff544096342b9d44410bcb74bbffec99a.tar.gz nextcloud-server-acfb3cfff544096342b9d44410bcb74bbffec99a.zip |
external storage: set storages to be available for All Users by default
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/templates/settings.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index 28836ed5b53..e8815acaf16 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -88,9 +88,12 @@ data-applicable-users='<?php if (isset($mount['applicable']['users'])) print_unescaped(json_encode($mount['applicable']['users'])); ?>'> <select class="chzn-select" - multiple style="width:20em;" - data-placeholder="<?php p($l->t('None set')); ?>"> - <option value="all" <?php if (isset($mount['applicable']['users']) && in_array('all', $mount['applicable']['users'])) print_unescaped('selected="selected"');?> ><?php p($l->t('All Users')); ?></option> + multiple style="width:20em;" + data-placeholder="<?php p($l->t('No user or group')); ?>"> + <option value="all" + <?php if (empty($mount['class']) || (isset($mount['applicable']['users']) && in_array('all', $mount['applicable']['users']))) print_unescaped('selected="selected"');?> > + <?php p($l->t('All Users')); ?> + </option> <optgroup label="<?php p($l->t('Groups')); ?>"> <?php foreach ($_['groups'] as $group): ?> <option value="<?php p($group); ?>(group)" |