summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-12 14:33:24 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-06-12 14:33:24 +0200
commit7c108edc3603fd18300e5eba2af798dd1cdc41de (patch)
tree100ac22c9ad1dda532f618f7baa578049712ed1b /core/templates/layout.user.php
parenta39ecd5ea977f18fac9c7c3683a7988434f6b95f (diff)
downloadnextcloud-server-7c108edc3603fd18300e5eba2af798dd1cdc41de.tar.gz
nextcloud-server-7c108edc3603fd18300e5eba2af798dd1cdc41de.zip
mage page title aware of ownCloud edition
Diffstat (limited to 'core/templates/layout.user.php')
-rw-r--r--core/templates/layout.user.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index a3ebf3abd03..dcd7562fd1c 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'].' | ':'');
+ OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition");
+ 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">