aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-01 00:12:18 +0000
committertravis%sedsystems.ca <>2005-02-01 00:12:18 +0000
commitb1928c8c7cb62e0e3bd623c6435ca53461d924cc (patch)
treed35c0da6e457acc22d692f9a753ed2892a861189
parentd9e238bc897b7614a81784dbebc69b9a155c9539 (diff)
downloadbugs-b1928c8c7cb62e0e3bd623c6435ca53461d924cc.tar
bugs-b1928c8c7cb62e0e3bd623c6435ca53461d924cc.tar.gz
bugs-b1928c8c7cb62e0e3bd623c6435ca53461d924cc.tar.bz2
bugs-b1928c8c7cb62e0e3bd623c6435ca53461d924cc.tar.xz
bugs-b1928c8c7cb62e0e3bd623c6435ca53461d924cc.zip
Bug 265394 : bodyattrs should be dropped from header.html.tmpl
Patch by Marc Schumann <wurblzap@gmail.com> r=LpSolit, vladd a=justdave
-rw-r--r--template/en/default/filterexceptions.pl1
-rw-r--r--template/en/default/global/header.html.tmpl5
2 files changed, 1 insertions, 5 deletions
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 <body> tag
# bodyclasses: array of extra CSS classes for the <body>
# 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'