diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-09-26 15:38:35 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-09-26 15:38:35 +0200 |
commit | 185f442df8476e46dd75de02315eff99ea1ca7cf (patch) | |
tree | 14c6ffb6e43ee4c5732509b7d429bd319b054dd5 /core | |
parent | 9fc23e1967371d3765f24d74339704df77e29606 (diff) | |
download | nextcloud-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.php | 8 |
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> |