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 @@ ...@@ -266,7 +266,6 @@
'style', 'style',
'bgcolor', 'bgcolor',
'onload', 'onload',
'bodyattrs',
'h1', 'h1',
'h2', 'h2',
'h3', 'h3',
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
# h2: string. Page subheader. # h2: string. Page subheader.
# h3: string. Right-aligned subheader. # h3: string. Right-aligned subheader.
# bgcolor: string. the page's background color ("#rrggbb"). # 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> # bodyclasses: array of extra CSS classes for the <body>
# onload: string. JavaScript code to run when the page finishes loading. # onload: string. JavaScript code to run when the page finishes loading.
# javascript: string. Javascript to go in the header. # javascript: string. Javascript to go in the header.
...@@ -46,7 +45,6 @@ ...@@ -46,7 +45,6 @@
h3 = "" h3 = ""
bgcolor = "#ffffff" bgcolor = "#ffffff"
onload = "" onload = ""
bodyattrs = ""
%] %]
[%# We should be able to set the default value of the h1 variable [%# We should be able to set the default value of the h1 variable
...@@ -110,8 +108,7 @@ ...@@ -110,8 +108,7 @@
class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %] class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]
[% FOREACH class = bodyclasses %] [% FOREACH class = bodyclasses %]
[% ' ' %][% class FILTER css_class_quote %] [% ' ' %][% class FILTER css_class_quote %]
[% END %]" [% END %]">
[%+ bodyattrs %]>
[%# Migration note: the following file corresponds to the old Param [%# Migration note: the following file corresponds to the old Param
# 'bannerhtml' # '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