Commit b1928c8c authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 265394 : bodyattrs should be dropped from header.html.tmpl

Patch by Marc Schumann <wurblzap@gmail.com> r=LpSolit, vladd a=justdave
parent d9e238bc
......@@ -266,7 +266,6 @@
'style',
'bgcolor',
'onload',
'bodyattrs',
'h1',
'h2',
'h3',
......
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment