diff options
author | Sander <brantje@gmail.com> | 2014-07-08 13:14:54 +0200 |
---|---|---|
committer | Sander <brantje@gmail.com> | 2014-07-08 13:14:54 +0200 |
commit | ec6779ced46a1a147c8da23d028f1ef1bcea70d1 (patch) | |
tree | 390738a1177dc781a8f0a32906cdcbd264a0a030 /core | |
parent | 687cd7fe83fc40d7bc7d2ba7df5b495bf7bebdca (diff) | |
download | nextcloud-server-ec6779ced46a1a147c8da23d028f1ef1bcea70d1.tar.gz nextcloud-server-ec6779ced46a1a147c8da23d028f1ef1bcea70d1.zip |
Add webapp support
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/layout.user.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 066362bd4a5..24f0c4be8f0 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -17,6 +17,12 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"> <meta name="apple-itunes-app" content="app-id=543672169"> + <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'])?$_['application'].' - ':''); + p($theme->getTitle());?>"> + <meta name="mobile-web-app-capable" content="yes"> <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')); ?>" /> <?php foreach($_['cssfiles'] as $cssfile): ?> |