summaryrefslogtreecommitdiffstats
path: root/apps/files_external/settings.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-05-08 15:25:46 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-08-25 11:50:19 +0200
commit308e8d63793761460b9d2a50d6f815403e106d83 (patch)
tree37171ee8c0450176bd7a9c2975654130c00b72f3 /apps/files_external/settings.php
parentbff39f796e16142346d14ce9b61512644ba6f6cc (diff)
downloadnextcloud-server-308e8d63793761460b9d2a50d6f815403e106d83.tar.gz
nextcloud-server-308e8d63793761460b9d2a50d6f815403e106d83.zip
replace chosen with select2 to provide ajaxified user and group selection for files_external, fixes #7499
remove minified select2 js show avatars for users, simpler results remove unneeded users and groups from settings template fix css, escape user and group names
Diffstat (limited to 'apps/files_external/settings.php')
-rw-r--r--apps/files_external/settings.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/files_external/settings.php b/apps/files_external/settings.php
index 5b62b542200..5ef1cb7f14e 100644
--- a/apps/files_external/settings.php
+++ b/apps/files_external/settings.php
@@ -23,9 +23,10 @@
OC_Util::checkAdminUser();
OCP\Util::addScript('files_external', 'settings');
-OCP\Util::addscript('3rdparty', 'chosen/chosen.jquery.min');
OCP\Util::addStyle('files_external', 'settings');
-OCP\Util::addStyle('3rdparty', 'chosen/chosen');
+
+OCP\Util::addScript('files_external', '../3rdparty/select2/select2');
+OCP\Util::addStyle('files_external', '../3rdparty/select2/select2');
$backends = OC_Mount_Config::getBackends();
$personal_backends = array();
@@ -46,8 +47,6 @@ $tmpl->assign('isAdminPage', true);
$tmpl->assign('mounts', OC_Mount_Config::getSystemMountPoints());
$tmpl->assign('backends', $backends);
$tmpl->assign('personal_backends', $personal_backends);
-$tmpl->assign('groups', OC_Group::getGroups());
-$tmpl->assign('users', OCP\User::getUsers());
$tmpl->assign('userDisplayNames', OC_User::getDisplayNames());
$tmpl->assign('dependencies', OC_Mount_Config::checkDependencies());
$tmpl->assign('allowUserMounting', OCP\Config::getAppValue('files_external', 'allow_user_mounting', 'yes'));