diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-08-11 15:11:06 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-08-11 15:11:06 +0200 |
commit | bc5bf18eedb3c3afd4c9266b5c4a0738f467d54f (patch) | |
tree | e013a8242768650691ffad496b56487145baa444 /admin | |
parent | 592eacf37d7b845499ddce65b15fa86791cb3eae (diff) | |
download | nextcloud-server-bc5bf18eedb3c3afd4c9266b5c4a0738f467d54f.tar.gz nextcloud-server-bc5bf18eedb3c3afd4c9266b5c4a0738f467d54f.zip |
bit of work on app management
Diffstat (limited to 'admin')
-rw-r--r-- | admin/apps.php | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/admin/apps.php b/admin/apps.php index 07e93728a39..c74f9032916 100644 --- a/admin/apps.php +++ b/admin/apps.php @@ -45,8 +45,19 @@ foreach($registeredApps as $app){ } } -$categories=OC_OCSClient::getCategories(); -// print_r($categories); +$categories=array_keys(OC_OCSClient::getCategories()); +$externalApps=OC_OCSClient::getApplications($categories); +foreach($externalApps as $app){ + $apps[]=array( + 'name'=>$app['name'], + 'id'=>$app['id'], + 'active'=>false, + 'description'=>$app['description'], + 'author'=>$app['personid'], + ); +} + + $tmpl = new OC_Template( "admin", "apps", "user" ); $tmpl->assign('apps',$apps); |