summaryrefslogtreecommitdiffstats
path: root/settings/templates/apps.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-05 16:49:07 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-05 16:49:07 +0100
commit61aa6ead83f7956a99a9feb635961694a036dff0 (patch)
treec9158af72ddecaffc1085301f5a1baef6ff41f5a /settings/templates/apps.php
parentb0692af29aee6b0e27b6d7caaebbe4e3617e7529 (diff)
parentd36da7e43abc716247fcc6252466f5a848cbbbed (diff)
downloadnextcloud-server-61aa6ead83f7956a99a9feb635961694a036dff0.tar.gz
nextcloud-server-61aa6ead83f7956a99a9feb635961694a036dff0.zip
Merge pull request #6490 from owncloud/theming-for-appstemplate
do not show 'Add app' and 'More apps' for themed ownCloud
Diffstat (limited to 'settings/templates/apps.php')
-rw-r--r--settings/templates/apps.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index e04815f9b99..4c77c62f511 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -9,9 +9,11 @@
<ul id="leftcontent" class="applist">
+ <?php if(OC_Config::getValue('appstoreenabled', true) === true): ?>
<li>
<a class="app-external" target="_blank" href="http://owncloud.org/dev"><?php p($l->t('Add your App'));?> …</a>
</li>
+ <?php endif; ?>
<?php foreach($_['apps'] as $app):?>
<li <?php if($app['active']) print_unescaped('class="active"')?> data-id="<?php p($app['id']) ?>"
@@ -24,9 +26,11 @@
</li>
<?php endforeach;?>
+ <?php if(OC_Config::getValue('appstoreenabled', true) === true): ?>
<li>
<a class="app-external" target="_blank" href="http://apps.owncloud.com"><?php p($l->t('More Apps'));?> …</a>
</li>
+ <?php endif; ?>
</ul>
<div id="rightcontent">
<div class="appinfo">