]> source.dussan.org Git - nextcloud-server.git/commitdiff
mage page title aware of ownCloud edition
authorBjörn Schießle <schiessle@owncloud.com>
Wed, 12 Jun 2013 12:33:24 +0000 (14:33 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 13 Jun 2013 14:36:36 +0000 (16:36 +0200)
Conflicts:

core/templates/layout.user.php

core/templates/layout.base.php
core/templates/layout.guest.php
core/templates/layout.user.php

index 336df27ef1c93e00dd0978dae3ffa9893f066bda..cebb9e561f164e58f941543b0ce9fc6b6f58253e 100644 (file)
@@ -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')); ?>" />
index a3a8dc5f7ba0c7dd3013bbec3f18b7edadf7cb5d..70c29580a9f238b44733da74ba4d7c2091e6b1ff 100644 (file)
@@ -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')); ?>" />
index 6a8e221cbd3c1df727679127bded10e555e176db..6e9afecf9e809eda91f8f476be6391e94de4f62e 100644 (file)
@@ -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')); ?>" />