зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
9a96d73a1a
Коммит
2f8a504a2c
|
@ -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'
|
||||
|
|
Загрузка…
Ссылка в новой задаче