From 633f6e9de3706e593c46eb680984015f19251145 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Wed, 5 Jun 2002 05:54:01 +0000 Subject: 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 ++++++++-- template/en/default/search/search-advanced.html.tmpl | 2 +- template/en/default/search/search.html.tmpl | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) (limited to 'template') diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index 332d0d5f0..15f2e9e22 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/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/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 1a8ce33a8..0cc4badcf 100644 --- a/template/en/default/global/header.html.tmpl +++ b/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. + #%] -