[ticket/10258] Remove the meta charset tag

The charset tag is useless, because if a charset content-type header is
present it takes precedence. And phpBB always sends such a header.

PHPBB3-10258
This commit is contained in:
Igor Wiedler 2011-07-12 01:32:00 +02:00
parent af1c8747ce
commit 136a932303
18 changed files with 0 additions and 21 deletions

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<title>{L_COLOUR_SWATCH}</title> <title>{L_COLOUR_SWATCH}</title>
<style type="text/css"> <style type="text/css">

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<!-- IF META -->{META}<!-- ENDIF --> <!-- IF META -->{META}<!-- ENDIF -->
<title>{PAGE_TITLE}</title> <title>{PAGE_TITLE}</title>

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<!-- IF META -->{META}<!-- ENDIF --> <!-- IF META -->{META}<!-- ENDIF -->
<title>{PAGE_TITLE}</title> <title>{PAGE_TITLE}</title>

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<!-- IF META -->{META}<!-- ENDIF --> <!-- IF META -->{META}<!-- ENDIF -->
<title>{PAGE_TITLE}</title> <title>{PAGE_TITLE}</title>

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<!-- IF META -->{META}<!-- ENDIF --> <!-- IF META -->{META}<!-- ENDIF -->
<title>{PAGE_TITLE}</title> <title>{PAGE_TITLE}</title>

View file

@ -770,7 +770,6 @@ class dbal
echo '<!DOCTYPE html> echo '<!DOCTYPE html>
<html dir="ltr"> <html dir="ltr">
<head> <head>
<meta charset="utf-8">
<title>SQL Report</title> <title>SQL Report</title>
<link href="' . $phpbb_root_path . 'adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" /> <link href="' . $phpbb_root_path . 'adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />
</head> </head>

View file

@ -2251,7 +2251,6 @@ function redirect($url, $return = false, $disable_cd_check = false)
echo '<!DOCTYPE html>'; echo '<!DOCTYPE html>';
echo '<html dir="' . $user->lang['DIRECTION'] . '" lang="' . $user->lang['USER_LANG'] . '">'; echo '<html dir="' . $user->lang['DIRECTION'] . '" lang="' . $user->lang['USER_LANG'] . '">';
echo '<head>'; echo '<head>';
echo '<meta charset="utf-8">';
echo '<meta http-equiv="refresh" content="0; url=' . str_replace('&', '&amp;', $url) . '" />'; echo '<meta http-equiv="refresh" content="0; url=' . str_replace('&', '&amp;', $url) . '" />';
echo '<title>' . $user->lang['REDIRECT'] . '</title>'; echo '<title>' . $user->lang['REDIRECT'] . '</title>';
echo '</head>'; echo '</head>';
@ -3759,7 +3758,6 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
echo '<!DOCTYPE html>'; echo '<!DOCTYPE html>';
echo '<html dir="ltr">'; echo '<html dir="ltr">';
echo '<head>'; echo '<head>';
echo '<meta charset="utf-8">';
echo '<title>' . $msg_title . '</title>'; echo '<title>' . $msg_title . '</title>';
echo '<style type="text/css">' . "\n" . '/* <![CDATA[ */' . "\n"; echo '<style type="text/css">' . "\n" . '/* <![CDATA[ */' . "\n";
echo '* { margin: 0; padding: 0; } html { font-size: 100%; height: 100%; margin-bottom: 1px; background-color: #E4EDF0; } body { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; color: #536482; background: #E4EDF0; font-size: 62.5%; margin: 0; } '; echo '* { margin: 0; padding: 0; } html { font-size: 100%; height: 100%; margin-bottom: 1px; background-color: #E4EDF0; } body { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; color: #536482; background: #E4EDF0; font-size: 62.5%; margin: 0; } ';

View file

@ -103,7 +103,6 @@ function wrap_img_in_html($src, $title)
echo '<!DOCTYPE html>'; echo '<!DOCTYPE html>';
echo '<html>'; echo '<html>';
echo '<head>'; echo '<head>';
echo '<meta charset="utf-8">';
echo '<title>' . $title . '</title>'; echo '<title>' . $title . '</title>';
echo '</head>'; echo '</head>';
echo '<body>'; echo '<body>';

View file

@ -209,8 +209,6 @@ if ($has_global && !$ga_forum_id)
<html dir="<?php echo $lang['DIRECTION']; ?>" lang="<?php echo $lang['USER_LANG']; ?>"> <html dir="<?php echo $lang['DIRECTION']; ?>" lang="<?php echo $lang['USER_LANG']; ?>">
<head> <head>
<meta charset="utf-8">
<title><?php echo $lang['UPDATING_TO_LATEST_STABLE']; ?></title> <title><?php echo $lang['UPDATING_TO_LATEST_STABLE']; ?></title>
<link href="../adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" /> <link href="../adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />
@ -259,7 +257,6 @@ header('Content-type: text/html; charset=UTF-8');
<!DOCTYPE html> <!DOCTYPE html>
<html dir="<?php echo $lang['DIRECTION']; ?>" lang="<?php echo $lang['USER_LANG']; ?>"> <html dir="<?php echo $lang['DIRECTION']; ?>" lang="<?php echo $lang['USER_LANG']; ?>">
<head> <head>
<meta charset="utf-8">
<title><?php echo $lang['UPDATING_TO_LATEST_STABLE']; ?></title> <title><?php echo $lang['UPDATING_TO_LATEST_STABLE']; ?></title>

View file

@ -557,7 +557,6 @@ class module
echo '<!DOCTYPE html>'; echo '<!DOCTYPE html>';
echo '<html dir="ltr">'; echo '<html dir="ltr">';
echo '<head>'; echo '<head>';
echo '<meta charset="utf-8">';
echo '<title>' . $lang['INST_ERR_FATAL'] . '</title>'; echo '<title>' . $lang['INST_ERR_FATAL'] . '</title>';
echo '<link href="../adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />'; echo '<link href="../adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />';
echo '</head>'; echo '</head>';

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<meta name="keywords" content="" /> <meta name="keywords" content="" />
<meta name="description" content="" /> <meta name="description" content="" />
{META} {META}

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<meta name="keywords" content="" /> <meta name="keywords" content="" />
<meta name="description" content="" /> <meta name="description" content="" />
{META} {META}

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<title>{SITENAME} :: {PAGE_TITLE}</title> <title>{SITENAME} :: {PAGE_TITLE}</title>
<style type="text/css"> <style type="text/css">

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<meta name="keywords" content="" /> <meta name="keywords" content="" />
<meta name="description" content="" /> <meta name="description" content="" />
<meta name="robots" content="noindex" /> <meta name="robots" content="noindex" />

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<meta name="keywords" content="" /> <meta name="keywords" content="" />
<meta name="description" content="" /> <meta name="description" content="" />
{META} {META}

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<meta name="keywords" content="" /> <meta name="keywords" content="" />
<meta name="description" content="" /> <meta name="description" content="" />
{META} {META}

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<title>{SITENAME} :: {PAGE_TITLE}</title> <title>{SITENAME} :: {PAGE_TITLE}</title>
<style type="text/css"> <style type="text/css">

View file

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> <html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head> <head>
<meta charset="{S_CONTENT_ENCODING}">
<title>{SITENAME} :: {PAGE_TITLE}</title> <title>{SITENAME} :: {PAGE_TITLE}</title>
<style type="text/css"> <style type="text/css">