diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-12-18 14:59:57 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-02-05 16:52:15 +0100 |
commit | e48c7675b90afe269754eb405fd7d6ccede81b9d (patch) | |
tree | fbb2599275ce4e3f9e5b5b4b33f3d8871053e514 /settings | |
parent | f8249867422a8b20c7e254785f7dc53946a8fec4 (diff) | |
download | nextcloud-server-e48c7675b90afe269754eb405fd7d6ccede81b9d.tar.gz nextcloud-server-e48c7675b90afe269754eb405fd7d6ccede81b9d.zip |
do not show 'Add app' and 'More apps' for themed ownCloud
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/apps.php | 4 |
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"> |