Bug 224242: Add a CSS id signature to the <body> attribute on Bugzilla pages to…

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
parent da67ec0f
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment