1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/10258] Change the DOCTYPE to HTML5

PHPBB3-10258
This commit is contained in:
Igor Wiedler
2011-07-09 15:28:33 +02:00
parent e2d27a30a6
commit 766537035e
26 changed files with 108 additions and 143 deletions

View File

@@ -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>';