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/install | |
| 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/install')
| -rw-r--r-- | phpBB/install/database_update.php | 19 | ||||
| -rw-r--r-- | phpBB/install/index.php | 7 |
2 files changed, 12 insertions, 14 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index fc205d4e56..09e2417efa 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -205,13 +205,12 @@ $ga_forum_id = request_var('ga_forum_id', 0); if ($has_global && !$ga_forum_id) { ?> - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $lang['DIRECTION']; ?>" lang="<?php echo $lang['USER_LANG']; ?>" xml:lang="<?php echo $lang['USER_LANG']; ?>"> + <!DOCTYPE html> + <html dir="<?php echo $lang['DIRECTION']; ?>" lang="<?php echo $lang['USER_LANG']; ?>"> <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <meta http-equiv="content-language" content="<?php echo $lang['USER_LANG']; ?>" /> - <meta http-equiv="content-style-type" content="text/css" /> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="imagetoolbar" content="no" /> <title><?php echo $lang['UPDATING_TO_LATEST_STABLE']; ?></title> @@ -259,13 +258,11 @@ if ($has_global && !$ga_forum_id) header('Content-type: text/html; charset=UTF-8'); ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $lang['DIRECTION']; ?>" lang="<?php echo $lang['USER_LANG']; ?>" xml:lang="<?php echo $lang['USER_LANG']; ?>"> +<!DOCTYPE html> +<html dir="<?php echo $lang['DIRECTION']; ?>" lang="<?php echo $lang['USER_LANG']; ?>"> <head> - -<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> -<meta http-equiv="content-language" content="<?php echo $lang['USER_LANG']; ?>" /> -<meta http-equiv="content-style-type" content="text/css" /> +<meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="imagetoolbar" content="no" /> <title><?php echo $lang['UPDATING_TO_LATEST_STABLE']; ?></title> diff --git a/phpBB/install/index.php b/phpBB/install/index.php index e8a63e857e..2cbe9212c0 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -554,10 +554,11 @@ class module return; } - echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'; - echo '<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">'; + echo '<!DOCTYPE html>'; + echo '<html dir="ltr">'; 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>' . $lang['INST_ERR_FATAL'] . '</title>'; echo '<link href="../adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />'; echo '</head>'; |
