diff options
author | Igor Wiedler <igor@wiedler.ch> | 2011-07-09 15:28:33 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2011-07-09 17:04:46 +0200 |
commit | 766537035ea2f04c5aa3c59c15edc15f4ecd050f (patch) | |
tree | 3fcf8fe3fa243b1b9b367d16c0385473ded05771 /phpBB/includes/functions_download.php | |
parent | e2d27a30a6fa2eafb1950f171bad1f6b69fce758 (diff) | |
download | forums-766537035ea2f04c5aa3c59c15edc15f4ecd050f.tar forums-766537035ea2f04c5aa3c59c15edc15f4ecd050f.tar.gz forums-766537035ea2f04c5aa3c59c15edc15f4ecd050f.tar.bz2 forums-766537035ea2f04c5aa3c59c15edc15f4ecd050f.tar.xz forums-766537035ea2f04c5aa3c59c15edc15f4ecd050f.zip |
[ticket/10258] Change the DOCTYPE to HTML5
PHPBB3-10258
Diffstat (limited to 'phpBB/includes/functions_download.php')
-rw-r--r-- | phpBB/includes/functions_download.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php index 94bcb36698..30544a5bce 100644 --- a/phpBB/includes/functions_download.php +++ b/phpBB/includes/functions_download.php @@ -100,10 +100,11 @@ function send_avatar_to_browser($file, $browser) */ function wrap_img_in_html($src, $title) { - echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Strict.dtd">'; + echo '<!DOCTYPE html>'; echo '<html>'; echo '<head>'; - echo '<meta http-equiv="content-type" content="text/html; charset=UTF-8" />'; + echo '<meta charset="utf-8">'; + echo '<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">'; echo '<title>' . $title . '</title>'; echo '</head>'; echo '<body>'; |