summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-07-29 19:59:01 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-07-29 19:59:01 +0200
commitb5ea97ef817cc2b33269f4518727db259ec6c960 (patch)
treed7c1797076faab16d8dd57d156b79a994b5bb403 /core
parentdfd92bc7e0d45a9a7311d18d3035d55bc5f0e6b1 (diff)
parent0b27bcba76b582e73f1478eac4905c96cd7e8863 (diff)
downloadnextcloud-server-b5ea97ef817cc2b33269f4518727db259ec6c960.tar.gz
nextcloud-server-b5ea97ef817cc2b33269f4518727db259ec6c960.zip
Merge pull request #17965 from owncloud/theme-color
add theme-color for better Android browser integration
Diffstat (limited to 'core')
-rw-r--r--core/templates/layout.base.php1
-rw-r--r--core/templates/layout.guest.php1
-rw-r--r--core/templates/layout.user.php1
3 files changed, 3 insertions, 0 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index a5336b1585a..43d692c0364 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -9,6 +9,7 @@
</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
+ <meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
<link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>">
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
<?php foreach ($_['cssfiles'] as $cssfile): ?>
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 0557e89ce71..0fd7521271d 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -10,6 +10,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
+ <meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
<link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>">
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
<?php foreach($_['cssfiles'] as $cssfile): ?>
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 61f164719d0..2f93a30ba6a 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -21,6 +21,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid']!='files')? $_['application']:'ownCloud'); ?>">
<meta name="mobile-web-app-capable" content="yes">
+ <meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
<link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path($_['appid'], 'favicon.png')); ?>">
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path($_['appid'], 'favicon-touch.png')); ?>">
<?php foreach($_['cssfiles'] as $cssfile): ?>