From: travis%sedsystems.ca <> Date: Tue, 1 Feb 2005 00:12:18 +0000 (+0000) Subject: Bug 265394 : bodyattrs should be dropped from header.html.tmpl X-Git-Tag: bugzilla-2.19.3~363 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1928c8c7cb62e0e3bd623c6435ca53461d924cc;p=thirdparty%2Fbugzilla.git Bug 265394 : bodyattrs should be dropped from header.html.tmpl Patch by Marc Schumann r=LpSolit, vladd a=justdave --- diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 045971da58..0b6bb90deb 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 4a4c6e19cb..6c31822e85 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'