From b1928c8c7cb62e0e3bd623c6435ca53461d924cc Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Tue, 1 Feb 2005 00:12:18 +0000 Subject: Bug 265394 : bodyattrs should be dropped from header.html.tmpl Patch by Marc Schumann r=LpSolit, vladd a=justdave --- template/en/default/filterexceptions.pl | 1 - template/en/default/global/header.html.tmpl | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'template') diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 045971da5..0b6bb90de 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -266,7 +266,6 @@ 'style', 'bgcolor', 'onload', - 'bodyattrs', 'h1', 'h2', 'h3', diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 4a4c6e19c..6c31822e8 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -27,7 +27,6 @@ # h2: string. Page subheader. # h3: string. Right-aligned subheader. # bgcolor: string. the page's background color ("#rrggbb"). - # bodyattrs: any extra attributes for the tag # bodyclasses: array of extra CSS classes for the # onload: string. JavaScript code to run when the page finishes loading. # javascript: string. Javascript to go in the header. @@ -46,7 +45,6 @@ h3 = "" bgcolor = "#ffffff" onload = "" - bodyattrs = "" %] [%# We should be able to set the default value of the h1 variable @@ -110,8 +108,7 @@ class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %] [% FOREACH class = bodyclasses %] [% ' ' %][% class FILTER css_class_quote %] - [% END %]" - [%+ bodyattrs %]> + [% END %]"> [%# Migration note: the following file corresponds to the old Param # 'bannerhtml' -- cgit v1.2.3-24-g4f1b