aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-10-07 10:27:55 +0200
committerGitHub <noreply@github.com>2016-10-07 10:27:55 +0200
commitbccc4e618a58281f390b6baa88cc0b03b1e40172 (patch)
treef5ceddb3e2be240b2a7add40e6a69dc3438a112d
parent7264d20152df326b82f5daebf26ee8e5161cb359 (diff)
parentb8030e6d0249882de92639135a18309718b10e43 (diff)
downloadnextcloud-server-bccc4e618a58281f390b6baa88cc0b03b1e40172.tar.gz
nextcloud-server-bccc4e618a58281f390b6baa88cc0b03b1e40172.zip
Merge pull request #1644 from nextcloud/apple-web-title
Set proper web title for apple
-rw-r--r--core/templates/layout.user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 6b9cd4061ed..285eb3ab5f3 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -14,7 +14,7 @@
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
<meta name="apple-mobile-web-app-capable" content="yes">
<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="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid']!='files')? $_['application']:$theme->getTitle()); ?>">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
<link rel="icon" href="<?php print_unescaped(image_path($_['appid'], 'favicon.ico')); /* IE11+ supports png */ ?>">