Skip to content

Commit 29b4611

Browse files
authored
Merge pull request #1697 from nextcloud/stable10-backport-1644
[stable10] Set proper web title for apple
2 parents cd282fa + 27703ca commit 29b4611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: core/templates/layout.user.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
1515
<meta name="apple-mobile-web-app-capable" content="yes">
1616
<meta name="apple-mobile-web-app-status-bar-style" content="black">
17-
<meta name="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid']!='files')? $_['application']:'ownCloud'); ?>">
17+
<meta name="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid']!='files')? $_['application']:$theme->getTitle()); ?>">
1818
<meta name="mobile-web-app-capable" content="yes">
1919
<meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
2020
<link rel="icon" href="<?php print_unescaped(image_path($_['appid'], 'favicon.ico')); /* IE11+ supports png */ ?>">

0 commit comments

Comments
 (0)