aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-07-29 16:32:22 +0200
committerIgor Wiedler <igor@wiedler.ch>2011-07-29 16:32:22 +0200
commit681c4a478d6eff7dbcebadca04f4afa28da750a8 (patch)
treece20076a61ed9411f5f16c9a3fbe878b6edad684 /phpBB/install
parent04c0d6461f342dcc9d5e5d12eacbf881d4833799 (diff)
downloadforums-681c4a478d6eff7dbcebadca04f4afa28da750a8.tar
forums-681c4a478d6eff7dbcebadca04f4afa28da750a8.tar.gz
forums-681c4a478d6eff7dbcebadca04f4afa28da750a8.tar.bz2
forums-681c4a478d6eff7dbcebadca04f4afa28da750a8.tar.xz
forums-681c4a478d6eff7dbcebadca04f4afa28da750a8.zip
[ticket/10258] Add HTML5 meta charset tag
This allows knowing the charset when saving web pages to disk. Also, this is supported by all browsers. PHPBB3-10258
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/database_update.php2
-rw-r--r--phpBB/install/index.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index bf3dec5bab..79aa57aea0 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -208,6 +208,7 @@ if ($has_global && !$ga_forum_id)
<!DOCTYPE html>
<html dir="<?php echo $lang['DIRECTION']; ?>" lang="<?php echo $lang['USER_LANG']; ?>">
<head>
+ <meta charset="utf-8">
<title><?php echo $lang['UPDATING_TO_LATEST_STABLE']; ?></title>
@@ -257,6 +258,7 @@ header('Content-type: text/html; charset=UTF-8');
<!DOCTYPE html>
<html dir="<?php echo $lang['DIRECTION']; ?>" lang="<?php echo $lang['USER_LANG']; ?>">
<head>
+<meta charset="utf-8">
<title><?php echo $lang['UPDATING_TO_LATEST_STABLE']; ?></title>
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index 9d241a9224..f4815c3108 100644
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -556,6 +556,7 @@ class module
echo '<!DOCTYPE html>';
echo '<html dir="ltr">';
echo '<head>';
+ echo '<meta charset="utf-8">';
echo '<title>' . $lang['INST_ERR_FATAL'] . '</title>';
echo '<link href="../adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />';
echo '</head>';