summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/header.html.tmpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 6c31822e8..ee97e00eb 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -26,7 +26,6 @@
# h1: string. Main page header.
# h2: string. Page subheader.
# h3: string. Right-aligned subheader.
- # bgcolor: string. the page's background color ("#rrggbb").
# 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.
@@ -43,7 +42,6 @@
[% DEFAULT
h2 = ""
h3 = ""
- bgcolor = "#ffffff"
onload = ""
%]
@@ -101,10 +99,10 @@
</head>
[%# Migration note: contents of the old Param 'bodyhtml' go in the body tag,
- # but set the bgcolor and onload attributes in the DEFAULT directive above.
+ # but set the onload attribute in the DEFAULT directive above.
#%]
- <body bgcolor="[% bgcolor %]" onload="[% onload %]"
+ <body onload="[% onload %]"
class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]
[% FOREACH class = bodyclasses %]
[% ' ' %][% class FILTER css_class_quote %]