summaryrefslogtreecommitdiffstats
path: root/settings/templates/apps.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-12-18 14:59:57 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-12-18 14:59:57 +0100
commit3c21fd5bfcaedf05a6028a4585f56e4afaddf33a (patch)
tree2eaf40a09814e7e0f091fe58791035a2f8bc9f69 /settings/templates/apps.php
parent3b4d49546bb851b488e8f6ed50d73322b5a2ee16 (diff)
downloadnextcloud-server-3c21fd5bfcaedf05a6028a4585f56e4afaddf33a.tar.gz
nextcloud-server-3c21fd5bfcaedf05a6028a4585f56e4afaddf33a.zip
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 0b76f775fea..bf2f178ca16 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -9,9 +9,11 @@
<ul id="leftcontent" class="applist">
+ <?php if (OC_Util::getEditionString() === ''): ?>
<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_Util::getEditionString() === ''): ?>
<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">