Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-12 16:33:24 +0400
committerBjörn Schießle <schiessle@owncloud.com>2013-06-13 18:36:36 +0400
commita74ece336d0370690ab2746c4ddb21a74e2cb535 (patch)
treedaa26cbc5259e8546c241d3267146cfb6ba555f6 /core
parentaa16518f6605d1cc5311ccf5c5c78a62a75790e2 (diff)
mage page title aware of ownCloud edition
Conflicts: core/templates/layout.user.php
Diffstat (limited to 'core')
-rw-r--r--core/templates/layout.base.php4
-rw-r--r--core/templates/layout.guest.php4
-rw-r--r--core/templates/layout.user.php7
3 files changed, 11 insertions, 4 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index 336df27ef1c..cebb9e561f1 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -6,7 +6,9 @@
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
<head>
- <title>ownCloud</title>
+ <title>
+ <?php OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition") ?>
+ </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index a3a8dc5f7ba..70c29580a9f 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -6,7 +6,9 @@
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
- <title>ownCloud</title>
+ <title>
+ <?php OC_Util::getEditionString() === '' ? p("ownCloud") : p("ownCloud Enterprise Edition") ?>
+ </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-itunes-app" content="app-id=543672169">
<link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 6a8e221cbd3..6e9afecf9e8 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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-itunes-app" content="app-id=543672169">
<link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />