[Pkg-owncloud-commits] [owncloud] 62/145: do not show 'Add app' and 'More apps' for themed ownCloud

David Prévot taffit at moszumanska.debian.org
Wed Feb 26 16:27:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit e48c7675b90afe269754eb405fd7d6ccede81b9d
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date:   Wed Dec 18 14:59:57 2013 +0100

    do not show 'Add app' and 'More apps' for themed ownCloud
---
 settings/templates/apps.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index e04815f..1930990 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">

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list