]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 272456 : Default text color not set
authortravis%sedsystems.ca <>
Thu, 3 Feb 2005 00:02:15 +0000 (00:02 +0000)
committertravis%sedsystems.ca <>
Thu, 3 Feb 2005 00:02:15 +0000 (00:02 +0000)
Patch by Myk Melez <myk@mozilla.org>   r=LpSolit, justdave  a=justdave

skins/standard/global.css
template/en/default/filterexceptions.pl
template/en/default/global/header.html.tmpl

index aecfb16586defe7ce365a51d5be43d0eef3f2c48..d57828575861a164d1cc264b82741655bfb2e6f5 100644 (file)
   *                 Svetlana Harisova <light@rathedg.com>
   */
 
+body
+{
+    color: #000;
+    background-color: #fff;
+}
+
 /* banner (begin) */
     #banner
     {
index 6f57dc8634ecdc7fd4c1b3093b900696ab16aacf..8f297ef42b9f6f5144a6bf0eacf217eecd0a3f22 100644 (file)
 'global/header.html.tmpl' => [
   'javascript', 
   'style', 
-  'bgcolor', 
   'onload',
   'h1',
   'h2',
index 6c31822e850114f012f925c00a8badbc39be66ab..ee97e00eb06d138e061948e3194f2f2222fb3031 100644 (file)
@@ -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 = ""
 %]
 
   </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 %]