diff options
author | travis%sedsystems.ca <> | 2005-02-03 01:02:15 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-03 01:02:15 +0100 |
commit | 6ba7e301377ab2ffe7ee04cf1a52d801cf705935 (patch) | |
tree | 3d587a5eb1703c92acde76ece60cbf7582cfdf17 | |
parent | cf769571be167becc7c07ea5a3f58a871abb2e5e (diff) | |
download | bugzilla-6ba7e301377ab2ffe7ee04cf1a52d801cf705935.tar.gz bugzilla-6ba7e301377ab2ffe7ee04cf1a52d801cf705935.tar.xz |
Bug 272456 : Default text color not set
Patch by Myk Melez <myk@mozilla.org> r=LpSolit, justdave a=justdave
-rw-r--r-- | skins/standard/global.css | 6 | ||||
-rw-r--r-- | template/en/default/filterexceptions.pl | 1 | ||||
-rw-r--r-- | template/en/default/global/header.html.tmpl | 6 |
3 files changed, 8 insertions, 5 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css index aecfb1658..d57828575 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -21,6 +21,12 @@ * Svetlana Harisova <light@rathedg.com> */ +body +{ + color: #000; + background-color: #fff; +} + /* banner (begin) */ #banner { diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 6f57dc863..8f297ef42 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -264,7 +264,6 @@ 'global/header.html.tmpl' => [ 'javascript', 'style', - 'bgcolor', 'onload', 'h1', 'h2', 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 %] |