diff options
Diffstat (limited to 'admin/apps.php')
-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); |