summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-09-26 15:38:35 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-09-26 15:38:35 +0200
commit185f442df8476e46dd75de02315eff99ea1ca7cf (patch)
tree14c6ffb6e43ee4c5732509b7d429bd319b054dd5 /core
parent9fc23e1967371d3765f24d74339704df77e29606 (diff)
downloadnextcloud-server-185f442df8476e46dd75de02315eff99ea1ca7cf.tar.gz
nextcloud-server-185f442df8476e46dd75de02315eff99ea1ca7cf.zip
for whitelabeled edition, show branding name (e.g. 'ownCloud') instead of appname in header bar
Diffstat (limited to 'core')
-rw-r--r--core/templates/layout.user.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index a7ce9a5be80..04cb6eb9def 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -53,7 +53,13 @@
</a>
<a href="#" class="menutoggle">
<div class="header-appname">
- <?php p(!empty($_['application'])?$_['application']: $l->t('Apps')); ?>
+ <?php
+ if(OC_Util::getEditionString() === '') {
+ p(!empty($_['application'])?$_['application']: $l->t('Apps'));
+ } else {
+ p($theme->getName());
+ }
+ ?>
</div>
<div class="icon-caret svg"></div>
</a>