From: ivan Date: Mon, 4 Sep 2006 20:10:03 +0000 (+0000) Subject: fix the gridding colors X-Git-Tag: TRIXBOX_2_6~980 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=54223f538be2b453537c915fce865802859786d0 fix the gridding colors --- diff --git a/httemplate/search/sqlradius.cgi b/httemplate/search/sqlradius.cgi index 2b6b69297..32e97b675 100644 --- a/httemplate/search/sqlradius.cgi +++ b/httemplate/search/sqlradius.cgi @@ -57,14 +57,14 @@ % @{ $part_export->usage_sessions( % $beginning, $ending, $cgi_svc_acct, $ip, $prefix, ) } % ) { +% if ( $bgcolor eq $bgcolor1 ) { +% $bgcolor = $bgcolor2; +% } else { +% $bgcolor = $bgcolor1; +% } % foreach my $field ( keys %efields ) { -% if ( $bgcolor eq $bgcolor1 ) { -% $bgcolor = $bgcolor2; -% } else { -% $bgcolor = $bgcolor1; -% } <% &{ $efields{$field}->{fmt} }( $session->{$field},