]> 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>
Wed, 12 Jun 2013 12:33:24 +0000 (14:33 +0200)
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 a3ebf3abd0359418af1949b1f84f3c9b85bbc7a6..dcd7562fd1c00dc9e87bbc97d628104eefb144fa 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 charset="utf-8">
                <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
                <meta name="apple-itunes-app" content="app-id=543672169">