diff --git a/mozilla/webtools/bugzilla/template/en/default/attachment/create.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/attachment/create.html.tmpl index 332d0d5f026..15f2e9e223e 100644 --- a/mozilla/webtools/bugzilla/template/en/default/attachment/create.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/attachment/create.html.tmpl @@ -32,7 +32,7 @@ th { text-align: right; vertical-align: baseline; white-space: nowrap; } td { text-align: left; vertical-align: baseline; padding-bottom: 5px; } " - body_attributes = "onload=\"setContentTypeDisabledState();\"" + onload="setContentTypeDisabledState();" %]
diff --git a/mozilla/webtools/bugzilla/template/en/default/global/header.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/global/header.html.tmpl index 1a8ce33a8e9..0cc4badcf67 100644 --- a/mozilla/webtools/bugzilla/template/en/default/global/header.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/global/header.html.tmpl @@ -24,6 +24,8 @@ # title: string. Page title. # h1: string. Main page header. # h2: string. Page subheader. + # bgcolor: string. the page's background color ("#rrggbb"). + # onload: string. JavaScript code to run when the page finishes loading. # extra: string. Any other HTML to go inside the tags. # jscript: string. Javascript to go in the header. # style: string. CSS style. @@ -33,6 +35,8 @@ [% DEFAULT h1 = title h2 = "" + bgcolor = "#ffccff" + onload = "" %] @@ -61,9 +65,11 @@ -[%# Migration note: contents of the old Param 'bodyhtml' go in the body tag %] +[%# Migration note: contents of the old Param 'bodyhtml' go in the body tag, + # but set the bgcolor and onload attributes in the DEFAULT directive above. + #%] -