diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-01-30 13:39:53 +0100 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-01-30 13:39:53 +0100 |
commit | 389c4e84153893a04310876ef70943cad53ee3e7 (patch) | |
tree | dc199cc509124435828a31971aa8fe00d6b6d3c0 /settings/ajax | |
parent | 3fa4b3abff5040a46720b2d11531d36a65e4836e (diff) | |
download | nextcloud-server-389c4e84153893a04310876ef70943cad53ee3e7.tar.gz nextcloud-server-389c4e84153893a04310876ef70943cad53ee3e7.zip |
mark recommended apps. server part not yet fully implemented
Diffstat (limited to 'settings/ajax')
-rw-r--r-- | settings/ajax/apps/ocs.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/settings/ajax/apps/ocs.php b/settings/ajax/apps/ocs.php index 6e09785d236..d0205a1ba34 100644 --- a/settings/ajax/apps/ocs.php +++ b/settings/ajax/apps/ocs.php @@ -44,6 +44,11 @@ if(is_array($catagoryNames)) { } else { $pre=$app['preview']; } + if($app['label']=='recommended') { + $label='3rd Party App'; + } else { + $label='Recommended'; + } $apps[]=array( 'name'=>$app['name'], 'id'=>$app['id'], @@ -53,7 +58,7 @@ if(is_array($catagoryNames)) { 'license'=>$app['license'], 'preview'=>$pre, 'internal'=>false, - 'internallabel'=>'3rd Party App', + 'internallabel'=>$label, 'update'=>false, ); } |