From 173210f48a5463a32d4abfe301a96475baed1181 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" Date: Tue, 4 Jun 2002 22:54:07 +0000 Subject: [PATCH] Fix for bug 148179: Cleans up interface to header.html.tmpl. r=justdave,bbaetz --- .../template/en/default/attachment/create.html.tmpl | 2 +- .../template/en/default/global/header.html.tmpl | 10 ++++++++-- .../en/default/search/search-advanced.html.tmpl | 2 +- .../template/en/default/search/search.html.tmpl | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/webtools/bugzilla/template/en/default/attachment/create.html.tmpl b/webtools/bugzilla/template/en/default/attachment/create.html.tmpl index 332d0d5f026b..15f2e9e223eb 100644 --- a/webtools/bugzilla/template/en/default/attachment/create.html.tmpl +++ b/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/webtools/bugzilla/template/en/default/global/header.html.tmpl b/webtools/bugzilla/template/en/default/global/header.html.tmpl index 1a8ce33a8e9e..0cc4badcf673 100644 --- a/webtools/bugzilla/template/en/default/global/header.html.tmpl +++ b/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. + #%] -