summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2013-06-13 07:32:41 -0700
committerBjörn Schießle <bjoern@schiessle.org>2013-06-13 07:32:41 -0700
commit7889f2ef5c086d050cb88e2943253af84362365f (patch)
treea955ba46e3581d865d0fef50cf836c5b43b42498 /core/templates/layout.user.php
parent4bafa4e81acea88c3925a04c392a982c80a1d7c3 (diff)
parent15eda5321531b7ae44a6dd2ed1d28ae0e2045c2b (diff)
downloadnextcloud-server-7889f2ef5c086d050cb88e2943253af84362365f.tar.gz
nextcloud-server-7889f2ef5c086d050cb88e2943253af84362365f.zip
Merge pull request #3687 from owncloud/template_updates
Make templates aware of different owncloud editions
Diffstat (limited to 'core/templates/layout.user.php')
-rw-r--r--core/templates/layout.user.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index a3ebf3abd03..44ae4c6ca35 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -6,8 +6,11 @@
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
<head data-user="<?php p($_['user_uid']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>">
- <title><?php p(!empty($_['application'])?$_['application'].' | ':'') ?>ownCloud
- <?php p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?></title>
+ <title>
+ <?php p(!empty($_['application'])?$_['application'].' | ':'');
+ p(OC_Defaults::getName());
+ p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?>
+ </title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="apple-itunes-app" content="app-id=543672169">
@@ -40,7 +43,9 @@
<header><div id="header">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud"><img class="svg"
src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="ownCloud" /></a>
-
+ <?php if (OC_Util::getEditionString() !== ''): ?>
+ <div id="logo-claim">Enterprise Edition</div>
+ <?php endif; ?>
<ul id="settings" class="svg">
<span id="expand" tabindex="0" role="link">
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>