Commit de313c7a authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 546838: Upgrade Bugzilla to HTML5

r/a=justdave
parent ba72ec96
...@@ -41,18 +41,19 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %] ...@@ -41,18 +41,19 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %]
javascript_urls = "js/attachment.js" javascript_urls = "js/attachment.js"
style_urls = ['skins/standard/attachment.css'] %] style_urls = ['skins/standard/attachment.css'] %]
[% ELSE %] [% ELSE %]
<!DOCTYPE html>
<html> <html>
<head> <head>
<link href="[% 'skins/standard/global.css' FILTER mtime %]" <link href="[% 'skins/standard/global.css' FILTER mtime %]"
rel="stylesheet" type="text/css"> rel="stylesheet" type="text/css">
<link href="[% 'skins/standard/attachment.css' FILTER mtime %]" <link href="[% 'skins/standard/attachment.css' FILTER mtime %]"
rel="stylesheet" type="text/css"> rel="stylesheet" type="text/css">
<script src="[% 'js/attachment.js' FILTER mtime %]" <script src="[% 'js/attachment.js' FILTER mtime %]"
type="text/javascript"></script> type="text/javascript"></script>
</head> </head>
<body onload="[% onload FILTER html %]"> <body onload="[% onload FILTER html %]">
[% END %] [% END %]
[%# If we have attachid, we are in diff, otherwise we're in interdiff %] [%# If we have attachid, we are in diff, otherwise we're in interdiff %]
[% IF attachid %] [% IF attachid %]
[%# HEADER %] [%# HEADER %]
......
...@@ -75,8 +75,7 @@ ...@@ -75,8 +75,7 @@
# set header's default value here only if it is undefined. %] # set header's default value here only if it is undefined. %]
[% IF !header.defined %][% header = title %][% END %] [% IF !header.defined %][% header = title %][% END %]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" <!DOCTYPE html>
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"> <html lang="en">
<head> <head>
[% Hook.process("start") %] [% Hook.process("start") %]
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
[% DEFAULT title = "$terms.Bug List" %] [% DEFAULT title = "$terms.Bug List" %]
<!DOCTYPE html>
<html> <html>
<head> <head>
<title>[% title FILTER html %]</title> <title>[% title FILTER html %]</title>
<base href="[% urlbase FILTER html %]"> <base href="[% urlbase FILTER html %]">
...@@ -28,5 +28,4 @@ ...@@ -28,5 +28,4 @@
[% PROCESS list/table.html.tmpl %] [% PROCESS list/table.html.tmpl %]
[% END %] [% END %]
</body> </body>
</html> </html>
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
# query: string. The SQL query which makes the buglist. # query: string. The SQL query which makes the buglist.
#%] #%]
<!DOCTYPE html>
<html> <html>
<head> <head>
<title>[% terms.Bugzilla %] is pondering your search</title> <title>[% terms.Bugzilla %] is pondering your search</title>
......
...@@ -10,8 +10,7 @@ ...@@ -10,8 +10,7 @@
# You need to fulfill the interface to duplicates-table.html.tmpl. # You need to fulfill the interface to duplicates-table.html.tmpl.
#%] #%]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" <!DOCTYPE html>
"http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
[% IF product.size %] [% IF product.size %]
[% title = BLOCK %] [% title = BLOCK %]
......
...@@ -10,16 +10,13 @@ ...@@ -10,16 +10,13 @@
# You need to fulfill the interface to report-table.html.tmpl. # You need to fulfill the interface to report-table.html.tmpl.
#%] #%]
<!DOCTYPE html>
<html> <html>
[% title = "$terms.Bug List" %]
<head> <head>
<title>[% title FILTER html %]</title> <title>[% "$terms.Bug List" FILTER html %]</title>
</head> </head>
<body> <body>
[% PROCESS "reports/report-table.html.tmpl" %] [% PROCESS "reports/report-table.html.tmpl" %]
</body> </body>
</html> </html>
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as # This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
#%] #%]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Bugzilla::REST::API</title> <title>Bugzilla::REST::API</title>
......
...@@ -360,8 +360,7 @@ WARNING: We are about to convert your table storage format to UTF-8. This ...@@ -360,8 +360,7 @@ WARNING: We are about to convert your table storage format to UTF-8. This
recommend that you stop checksetup.pl NOW and run contrib/recode.pl. recommend that you stop checksetup.pl NOW and run contrib/recode.pl.
END END
no_checksetup_from_cgi => <<END, no_checksetup_from_cgi => <<END,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" <!DOCTYPE html>
"http://www.w3.org/TR/html4/strict.dtd">
<html> <html>
<head> <head>
<title>checksetup.pl cannot run from a web browser</title> <title>checksetup.pl cannot run from a web browser</title>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# recipient: user object for the intended recipient of the message # recipient: user object for the intended recipient of the message
#%] #%]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE html>
<html> <html>
<head> <head>
<title> <title>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment