]> source.dussan.org Git - nextcloud-server.git/commitdiff
Improve IE Compatibility
authorPaul Brown <paul90brown@gmail.com>
Mon, 29 Apr 2013 20:44:11 +0000 (15:44 -0500)
committerPaul Brown <paul90brown@gmail.com>
Mon, 29 Apr 2013 20:44:11 +0000 (15:44 -0500)
Added meta tags from HTML5 Boiler Plate to improve compatibility with IE7+. This fixes the issues with rendering.

core/templates/layout.user.php

index 4dc4a2c7593e42c4af4aabb2afcb0c8d6ccf1e46..734def5f20c72f31a0a817458e215e9dba5d455b 100644 (file)
@@ -8,7 +8,8 @@
        <head>
                <title><?php p(!empty($_['application'])?$_['application'].' | ':'') ?>ownCloud
                        <?php p(trim($_['user_displayname']) != '' ?' ('.$_['user_displayname'].') ':'') ?></title>
-               <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+               <meta charset="utf-8">
+               <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
                <meta name="apple-itunes-app" content="app-id=543672169">
                <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')); ?>" />