summaryrefslogtreecommitdiffstats
path: root/settings/apps.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-04-18 14:29:45 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-06-03 12:42:35 +0200
commit53dc30af4fb09dabdd342ccd5dee9f20eaac52b0 (patch)
treea3aaf443b52356122bc001adee7e8a639b794b9d /settings/apps.php
parentbf9b634fd8981e8cb11bf2c44fbe283588bc048e (diff)
downloadnextcloud-server-53dc30af4fb09dabdd342ccd5dee9f20eaac52b0.tar.gz
nextcloud-server-53dc30af4fb09dabdd342ccd5dee9f20eaac52b0.zip
Add option to enable app for specific groups
Diffstat (limited to 'settings/apps.php')
-rw-r--r--settings/apps.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/apps.php b/settings/apps.php
index 6fd2efc2018..7573c8b573f 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -25,13 +25,16 @@ OC_Util::checkAdminUser();
// Load the files we need
OC_Util::addStyle( "settings", "settings" );
+OC_Util::addScript("core", "multiselect");
OC_App::setActiveNavigationEntry( "core_apps" );
$combinedApps = OC_App::listAllApps();
+$groups = \OC_Group::getGroups();
$tmpl = new OC_Template( "settings", "apps", "user" );
$tmpl->assign('apps', $combinedApps);
+$tmpl->assign('groups', $groups);
$appid = (isset($_GET['appid'])?strip_tags($_GET['appid']):'');