]> source.dussan.org Git - nextcloud-server.git/commitdiff
Set proper web title for apple 1697/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Thu, 6 Oct 2016 18:57:32 +0000 (20:57 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 11 Oct 2016 08:53:00 +0000 (10:53 +0200)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
core/templates/layout.user.php

index 17f895bc17ddbfd59f636dacd70cd223c43cdbd6..59c717547fd1f9ff58a7fa8305405d6f225e7085 100644 (file)
@@ -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 */ ?>">