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

Patch by Marc Schumann <wurblzap@gmail.com>  r=LpSolit, vladd  a=justdave
This commit is contained in:
travis%sedsystems.ca 2005-01-31 16:12:19 +00:00
Родитель 9a96d73a1a
Коммит 2f8a504a2c
2 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -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'