]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 546838: Upgrade Bugzilla to HTML5
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 8 Jan 2014 19:35:30 +0000 (20:35 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 8 Jan 2014 19:35:30 +0000 (20:35 +0100)
r/a=justdave

template/en/default/attachment/diff-header.html.tmpl
template/en/default/global/header.html.tmpl
template/en/default/list/list-simple.html.tmpl
template/en/default/list/server-push.html.tmpl
template/en/default/reports/duplicates-simple.html.tmpl
template/en/default/reports/report-simple.html.tmpl
template/en/default/rest.html.tmpl
template/en/default/setup/strings.txt.pl
template/en/default/whine/mail.html.tmpl

index 9e5cd446686f52f666219ae8d39ce6535f295f5c..63fe7345e9d126a7bb33ba87612393f3b6954ff9 100644 (file)
@@ -41,18 +41,19 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %]
                                      javascript_urls = "js/attachment.js"
                                      style_urls = ['skins/standard/attachment.css'] %]
 [% ELSE %]
+  <!DOCTYPE html>
   <html>
-  <head>
-  <link href="[% 'skins/standard/global.css' FILTER mtime %]"
-        rel="stylesheet" type="text/css">
-  <link href="[% 'skins/standard/attachment.css' FILTER mtime %]"
-        rel="stylesheet" type="text/css">
-  <script src="[% 'js/attachment.js' FILTER mtime %]" 
-          type="text/javascript"></script>
-  </head>
-  <body onload="[% onload FILTER html %]">
+    <head>
+      <link href="[% 'skins/standard/global.css' FILTER mtime %]"
+            rel="stylesheet" type="text/css">
+      <link href="[% 'skins/standard/attachment.css' FILTER mtime %]"
+            rel="stylesheet" type="text/css">
+      <script src="[% 'js/attachment.js' FILTER mtime %]"
+              type="text/javascript"></script>
+    </head>
+    <body onload="[% onload FILTER html %]">
 [% END %]
-  
+
 [%# If we have attachid, we are in diff, otherwise we're in interdiff %]
 [% IF attachid %]
   [%# HEADER %]
index ea00eeef5b83bde56a40d6bc0aeeb609f111f2fe..7d39ab9091155c071c92c5852089155f6671c74c 100644 (file)
@@ -75,8 +75,7 @@
   # set header's default value here only if it is undefined. %]
 [% IF !header.defined %][% header = title %][% END %]
 
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-                      "http://www.w3.org/TR/html4/loose.dtd">
+<!DOCTYPE html>
 <html lang="en">
   <head>
     [% Hook.process("start") %]
index 24e2bcf5a46e54319a98192d3b8456336df5fcc2..01f784d59fc4a4233fc10fb8211c7f1ed35d6396 100644 (file)
@@ -12,8 +12,8 @@
 
 [% DEFAULT title = "$terms.Bug List" %]
 
+<!DOCTYPE html>
 <html>
-
   <head>
     <title>[% title FILTER html %]</title>
     <base href="[% urlbase FILTER html %]">
@@ -28,5 +28,4 @@
       [% PROCESS list/table.html.tmpl %]
     [% END %]
   </body>
-
 </html>
index f19d6cbe03841cc852c659022a6f835d642d0a9d..f666d9c8cbad131ea0df0bf6b2510d6a0fcb1b44 100644 (file)
@@ -11,6 +11,7 @@
   # query: string. The SQL query which makes the buglist.
   #%]
 
+<!DOCTYPE html>
 <html>
   <head>
     <title>[% terms.Bugzilla %] is pondering your search</title>
index 6f586546a535c244dd134b959b2e330caf5eca0c..95185c41418d873e0a67fd6b1fa5ca41ed9c1f1d 100644 (file)
@@ -10,8 +10,7 @@
   # You need to fulfill the interface to duplicates-table.html.tmpl.
   #%]
 
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-                      "http://www.w3.org/TR/html4/loose.dtd">
+<!DOCTYPE html>
 <html>
   [% IF product.size %]
     [% title = BLOCK %]
index 17b87c6a603bab846a03af87fd2d7334e1504c46..9be2f0113f47617ef91fda659db02422db6d29a5 100644 (file)
   # You need to fulfill the interface to report-table.html.tmpl.
   #%]
 
+<!DOCTYPE html>
 <html>
-
-  [% title = "$terms.Bug List" %]
-
   <head>
-    <title>[% title FILTER html %]</title>
+    <title>[% "$terms.Bug List" FILTER html %]</title>
   </head>
 
   <body>
     [% PROCESS "reports/report-table.html.tmpl" %]
   </body>
-
 </html>
index 0b8321dd13352d0fb50dad70283795210e46acc5..2afd50a408e1fb0e0e09703179f2e5c4188808bc 100644 (file)
@@ -5,8 +5,8 @@
   # This Source Code Form is "Incompatible With Secondary Licenses", as
   # 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>
   <head>
     <title>Bugzilla::REST::API</title>
index a7d687fe09bc087b3b21fdc0c6e4aa91a882d3ef..7ac013feb7d567ae58a818961ebaa346c90fe257 100644 (file)
@@ -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.
 END
     no_checksetup_from_cgi => <<END,
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-          "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE html>
 <html>
   <head>
     <title>checksetup.pl cannot run from a web browser</title>
index 3a2fc65a63b102aa08c0a896a7932510299e245c..ed030237df0fc95931735be62119067311cc86f0 100644 (file)
@@ -18,7 +18,7 @@
   # recipient: user object for the intended recipient of the message
   #%]
 
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html>
 <html>
   <head>
     <title>