summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/global/header.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 97770d970..c64001bd4 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -91,7 +91,9 @@
# but set the bgcolor and onload attributes in the DEFAULT directive above.
#%]
- <body bgcolor="[% bgcolor %]" onload="[% onload %]" [% bodyattrs %]>
+ <body bgcolor="[% bgcolor %]" onload="[% onload %]"
+ id="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[@:/.]','-') %]"
+ [% bodyattrs %]>
[%# Migration note: the following file corresponds to the old Param
# 'bannerhtml'