Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-12-18 17:59:57 +0400
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-05 19:52:15 +0400
commite48c7675b90afe269754eb405fd7d6ccede81b9d (patch)
treefbb2599275ce4e3f9e5b5b4b33f3d8871053e514 /settings
parentf8249867422a8b20c7e254785f7dc53946a8fec4 (diff)
do not show 'Add app' and 'More apps' for themed ownCloud
Diffstat (limited to 'settings')
-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..19309908c73 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">