summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2004-02-04 07:08:24 +0100
committerjustdave%syndicomm.com <>2004-02-04 07:08:24 +0100
commita5bedc9a64c867ceb44065d0c7b188016c7b33fc (patch)
treeb843759ef72c0df25d79996bfc0a7ed429bb8e18 /template
parentda67ec0f7409109b85427b8f0579dc9f5fc72ec9 (diff)
downloadbugzilla-a5bedc9a64c867ceb44065d0c7b188016c7b33fc.tar.gz
bugzilla-a5bedc9a64c867ceb44065d0c7b188016c7b33fc.tar.xz
Bug 224242: Add a CSS id signature to the <body> attribute on Bugzilla pages to allow user CSS to explicitly affect Bugzilla.
r= myk, a= myk
Diffstat (limited to 'template')
-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'