summaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2013-01-30 13:39:53 +0100
committerFrank Karlitschek <frank@owncloud.org>2013-01-30 13:39:53 +0100
commit389c4e84153893a04310876ef70943cad53ee3e7 (patch)
treedc199cc509124435828a31971aa8fe00d6b6d3c0 /lib/app.php
parent3fa4b3abff5040a46720b2d11531d36a65e4836e (diff)
downloadnextcloud-server-389c4e84153893a04310876ef70943cad53ee3e7.tar.gz
nextcloud-server-389c4e84153893a04310876ef70943cad53ee3e7.zip
mark recommended apps. server part not yet fully implemented
Diffstat (limited to 'lib/app.php')
-rw-r--r--lib/app.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php
index 52df04e73b8..fcf5a65458d 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -620,6 +620,13 @@ class OC_App{
$app1[$i]['ocs_id'] = $app['id'];
$app1[$i]['internal'] = $app1[$i]['active'] = 0;
$app1[$i]['update'] = false;
+ if($app['label']=='recommended'){
+ $app1[$i]['internallabel'] = 'Recommended';
+ $app1[$i]['internalclass'] = 'recommendedapp';
+ }else{
+ $app1[$i]['internallabel'] = '3rd Party';
+ $app1[$i]['internalclass'] = 'externalapp';
+ }
// rating img