diff options
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/header.html.tmpl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 7ad957ddc..55a998f16 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -28,7 +28,6 @@ # 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. # javascript_urls: list. List of URLs to Javascript. @@ -107,11 +106,8 @@ #%] <body bgcolor="[% bgcolor %]" onload="[% onload %]" - class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %] - [% FOREACH class = bodyclasses %] - [% ' ' %][% class FILTER css_class_quote %] - [% END %]" - [% bodyattrs %]> + class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]" + [%+ bodyattrs %]> [%# Migration note: the following file corresponds to the old Param # 'bannerhtml' |