fix table titles for new bg color
authorivan <ivan>
Thu, 20 May 2010 08:48:51 +0000 (08:48 +0000)
committerivan <ivan>
Thu, 20 May 2010 08:48:51 +0000 (08:48 +0000)
27 files changed:
httemplate/elements/columnstart.html
httemplate/elements/freeside.css
httemplate/elements/header.html
httemplate/elements/tr-justtitle.html
httemplate/elements/tr-pkg_svc.html
httemplate/elements/tr-title.html
httemplate/graph/elements/report.html
httemplate/misc/email-customers.html
httemplate/search/cust_tax_exempt.html
httemplate/search/elements/cust_main_dayranges.html
httemplate/search/elements/search.html
httemplate/search/report_477.html
httemplate/search/report_cdr.html
httemplate/search/report_cust_event.html
httemplate/search/report_cust_main.html
httemplate/search/report_cust_pay.html
httemplate/search/report_cust_pkg.html
httemplate/search/report_cust_refund.html
httemplate/search/report_h_cust_pay.html
httemplate/search/report_prepaid_income.html
httemplate/search/report_prospect_main.html
httemplate/search/report_receivables.html
httemplate/search/report_svc_acct.html
httemplate/search/report_svc_phone.html
httemplate/search/report_timeworked.html
httemplate/search/report_unapplied_cust_pay.html
httemplate/view/prospect_main.html

index 0341b27..be37d81 100644 (file)
@@ -1,5 +1,5 @@
 <TR>
-  <TD BGCOLOR="#e8e8e8" COLSPAN=99>
+  <TD CLASS="background" COLSPAN=99>
     <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>
       <TR>
         <TD VALIGN="top">
index aa32a6d..3816f98 100644 (file)
@@ -48,7 +48,7 @@ input[type="reset"], input[type="submit"], input[type="button"] {
         border-radius: 4px;
   -moz-box-shadow: #666666 1px 1px 2px;
   -webkit-box-shadow: #666666 1px 1px 2px;
-  box-shadow: #666666 0px 0px 2px;
+  box-shadow: #666666 1px 1px 2px;
   filter: progid:DXImageTransform.Microsoft.Shadow(color='#666666', Direction=135, Strength=2);
 }
 
@@ -147,3 +147,6 @@ a.fstabselected:hover {
   color: #000000;
 }
 
+.background {
+  background-color:#f8f8f8;
+}
index b76d09d..90ab0b7 100644 (file)
@@ -140,7 +140,7 @@ Example:
 
 % }
 
-        <TD BGCOLOR="#f8f8f8" HEIGHT="100%" VALIGN="top"> <!-- WIDTH="100%"> -->
+        <TD CLASS="background" HEIGHT="100%" VALIGN="top"> <!-- WIDTH="100%"> -->
 
           <FONT SIZE=6>
             <% $title |h %>
index f283307..e9eda8b 100644 (file)
@@ -1,5 +1,5 @@
 <TR>
-  <TH BGCOLOR="#f8f8f8" COLSPAN=<% $opt{colspan} || 2 %> ALIGN="left">
+  <TH CLASS="background" COLSPAN=<% $opt{colspan} || 2 %> ALIGN="left">
     <FONT SIZE="+1"><% $opt{value} %></FONT>
   </TH>
 </TR>
index a9561a1..e66bdf7 100644 (file)
@@ -1,5 +1,5 @@
 <TR>
-  <TD BGCOLOR="#e8e8e8" COLSPAN=99>
+  <TD CLASS="background" COLSPAN=99>
 
 <% itable('', 4, 1) %><TR><TD VALIGN="top">
 <% $thead %>
index d40d0fd..af37341 100644 (file)
@@ -1,5 +1,5 @@
 <TR>
-  <TD BGCOLOR="#f8f8f8" COLSPAN=<% $opt{colspan} || 2 %>>&nbsp;</TD>
+  <TD CLASS="background" COLSPAN=<% $opt{colspan} || 2 %>>&nbsp;</TD>
 </TR>
 
 <% include('tr-justtitle.html', @_) %>
index e24c663..b831f3a 100644 (file)
@@ -178,7 +178,7 @@ any delimiter and linked from the elements in @data.
 % } 
 %
 </P>
-<% include('/elements/table.html', 'e8e8e8') %>
+<% include('/elements/table.html', 'f8f8f8') %>
 
 <TR>
 
index 4e4c15f..201aed4 100644 (file)
@@ -47,7 +47,7 @@
       <INPUT TYPE="hidden" NAME="html_body" VALUE="<% $cgi->param('html_body') |h %>">
       <TR>
         <TD ALIGN="right" VALIGN="top">Message (HTML display): </TD>
-        <TD BGCOLOR="#e8e8e8" ALIGN="left"><% $cgi->param('html_body') %></TD>
+        <TD CLASS="background" ALIGN="left"><% $cgi->param('html_body') %></TD>
       </TR>
 
 %     my $text_body = HTML::FormatText->new(leftmargin=>0)->format(
@@ -58,7 +58,7 @@
       <INPUT TYPE="hidden" NAME="text_body" VALUE="<% $text_body |h %>">
       <TR>
         <TD ALIGN="right" VALIGN="top">Message (Text display): </TD>
-        <TD BGCOLOR="#e8e8e8" ALIGN="left"><PRE><% $text_body %></PRE></TD>
+        <TD CLASS="background" ALIGN="left"><PRE><% $text_body %></PRE></TD>
       </TR>
 
     </TABLE>
index 612ad7e..869854f 100644 (file)
@@ -5,7 +5,7 @@
   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
+      <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
     </TR>
 
     <% include( '/elements/tr-select-cust_main-status.html',
index 476f138..c53e680 100644 (file)
@@ -217,7 +217,7 @@ if($opt{'payment_links'} && $curuser->access_right('Process payment') && @payby)
 
   @pay_labels = (map { my $payby = $_; 
                        my $label = $label{$payby};
-                       sub {($payby eq $_[0]->payby) ? "<b>$label</b>" : $label}
+                       sub {($payby eq $_[0]->payby) ? "<b>$label (on file)</b>" : $label}
                      } @payby );
 
   @pay_links = (map { [ "${p}misc/payment.cgi?payby=$_;custnum=", 'custnum' ] }
index 1312cac..0dc4170 100644 (file)
@@ -159,7 +159,7 @@ Example:
     # each hashref: http://search.cpan.org/dist/Spreadsheet-WriteExcel/lib/Spreadsheet/WriteExcel.pm#Format_methods_and_Format_properties
     'xls_format' => => [],
     
-  );
+  )
 
 </%doc>
 % if ( $type eq 'csv' ) {
index 7b85c13..2b51112 100755 (executable)
@@ -6,7 +6,7 @@
   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+      <TH CLASS="background" COLSPAN=2 ALIGN="left">
         <FONT SIZE="+1">Search options</FONT>
       </TH>
     </TR>
index 744038d..a50e4db 100644 (file)
@@ -5,7 +5,7 @@
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
   <TR>
-    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+    <TH CLASS="background" COLSPAN=2 ALIGN="left">
       <FONT SIZE="+1">Search options</FONT>
     </TH>
   </TR>
   </TR>
 
   <TR>
-    <TH BGCOLOR="#e8e8e8" COLSPAN=2>&nbsp;</TH>
+    <TH CLASS="background" COLSPAN=2>&nbsp;</TH>
   </TR>
 
   <TR>
-    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>
+    <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>
   </TR>
 
   <INPUT TYPE="hidden" NAME="show" VALUE="1">
index f77a072..e0d6242 100644 (file)
@@ -9,7 +9,7 @@
     <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
       <TR>
-        <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
+        <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
       </TR>
 
       <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
index 5860fbf..eb1a662 100755 (executable)
@@ -6,7 +6,7 @@
   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
+      <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
     </TR>
 
     <% include( '/elements/tr-select-agent.html',
 %   }
 
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2>&nbsp;</TH>
+      <TH CLASS="background" COLSPAN=2>&nbsp;</TH>
     </TR>
 
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>
+      <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>
     </TR>
     <% include( '/elements/tr-select-cust-fields.html' ) %>
 
 die "access denied"
   unless ( $FS::CurrentUser::CurrentUser->access_right('List customers') &&
            $FS::CurrentUser::CurrentUser->access_right('List packages')
-         );;
+         );
 
 my $conf = new FS::Conf;
 
index 1dc1d7a..6c10a2e 100644 (file)
@@ -6,7 +6,7 @@
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
   <TR>
-    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+    <TH CLASS="background" COLSPAN=2 ALIGN="left">
       <FONT SIZE="+1">Search options</FONT>
     </TH>
   </TR>
index fcc0934..58fcf61 100755 (executable)
@@ -7,7 +7,7 @@
   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+      <TH CLASS="background" COLSPAN=2 ALIGN="left">
         <FONT SIZE="+1">Search options</FONT>
       </TH>
     </TR>
     <% include( '/elements/tr-selectmultiple-part_pkg.html' ) %> 
 
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2>&nbsp;</TH>
+      <TH CLASS="background" COLSPAN=2>&nbsp;</TH>
     </TR>
 
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>
+      <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>
     </TR>
     <% include( '/elements/tr-select-cust-fields.html' ) %>
     
index 90d15ec..4d31100 100644 (file)
@@ -6,7 +6,7 @@
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
   <TR>
-    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+    <TH CLASS="background" COLSPAN=2 ALIGN="left">
       <FONT SIZE="+1">Search options</FONT>
     </TH>
   </TR>
index 4e47b38..fe7c4a9 100644 (file)
@@ -6,7 +6,7 @@
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
   <TR>
-    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+    <TH CLASS="background" COLSPAN=2 ALIGN="left">
       <FONT SIZE="+1">Search options</FONT>
     </TH>
   </TR>
index 04801be..061b24c 100644 (file)
@@ -7,7 +7,7 @@
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
   <TR>
-    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+    <TH CLASS="background" COLSPAN=2 ALIGN="left">
       <FONT SIZE="+1">Search options</FONT>
     </TH>
   </TR>
index 5e38343..4834c20 100644 (file)
@@ -5,7 +5,7 @@
   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
+      <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
     </TR>
 
     <% include( '/elements/tr-select-agent.html',
index b7c84f0..912ef26 100755 (executable)
@@ -5,7 +5,7 @@
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
   <TR>
-    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+    <TH CLASS="background" COLSPAN=2 ALIGN="left">
       <FONT SIZE="+1">Search options</FONT>
     </TH>
   </TR>
index 5ebf9de..c7fac46 100755 (executable)
@@ -7,7 +7,7 @@
   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
+      <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
     </TR>
 
 % unless ( $custnum ) {
     <% include( '/elements/tr-selectmultiple-part_pkg.html' ) %> 
 
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2>&nbsp;</TH>
+      <TH CLASS="background" COLSPAN=2>&nbsp;</TH>
     </TR>
  
     <TR>
-      <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>
+      <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>
     </TR>
 
 %   #move to /elements/tr-select-cust_pkg-fields if anything else needs it...
index 2d64340..9f10426 100644 (file)
@@ -8,7 +8,7 @@
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
 %#  <TR>
-%#    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+%#    <TH CLASS="background" COLSPAN=2 ALIGN="left">
 %#     <FONT SIZE="+1">Search options</FONT>
 %#    </TH>
 %#  </TR>
index a672ec0..492e738 100644 (file)
@@ -5,7 +5,7 @@
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
   <TR>
-    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+    <TH CLASS="background" COLSPAN=2 ALIGN="left">
       <FONT SIZE="+1">Search options</FONT>
     </TH>
   </TR>
index 65e064c..d2dd9e7 100755 (executable)
@@ -6,7 +6,7 @@
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
   <TR>
-    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+    <TH CLASS="background" COLSPAN=2 ALIGN="left">
       <FONT SIZE="+1">Search options</FONT>
     </TH>
   </TR>
index de446a9..9883e67 100644 (file)
@@ -58,7 +58,7 @@
 <% ntable("#cccccc") %>
 
 <TR>
-  <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Tickets</FONT></TH>
+  <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Tickets</FONT></TH>
 </TR>
 
 </TABLE>