summaryrefslogtreecommitdiffstats
path: root/settings/templates/apps.php
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2012-09-18 14:35:27 +0100
committerSam Tuke <samtuke@owncloud.com>2012-09-18 14:35:27 +0100
commitb765e883f32bf271c77e4bfa4a88249e5b371a1a (patch)
treefa7851e829f31dc4b7092be509e808ff43bb11c0 /settings/templates/apps.php
parent9bfdf47cd43139ca5c3fba255fd4486d06b6d72c (diff)
downloadnextcloud-server-b765e883f32bf271c77e4bfa4a88249e5b371a1a.tar.gz
nextcloud-server-b765e883f32bf271c77e4bfa4a88249e5b371a1a.zip
Fixed bug with duplicate entries for installed 3rd party apps in settings->apps
Added method getAppstoreApps to OC_App Added minor documentation
Diffstat (limited to 'settings/templates/apps.php')
-rw-r--r--settings/templates/apps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index 30f919ac753..0662148ebf2 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -11,7 +11,7 @@
</div>
<ul id="leftcontent" class="applist">
<?php foreach($_['apps'] as $app):?>
- <li <?php if($app['active']) echo 'class="active"'?> data-id="<?php echo $app['id'] ?>"
+ <li <?php if($app['active']) echo 'class="active"'?> data-id="<?php echo $app['id'] ?>" <?php if ( isset( $app['ocs_id'] ) ) { echo "data-id-ocs=\"{$app['ocs_id']}\""; } ?>
data-type="<?php echo $app['internal'] ? 'internal' : 'external' ?>" data-installed="1">
<a class="app<?php if(!$app['internal']) echo ' externalapp' ?>" href="?appid=<?php echo $app['id'] ?>"><?php echo htmlentities($app['name']) ?></a>
<script type="application/javascript">