From: eldy <>
Date: Fri, 4 Oct 2002 22:27:52 +0000 (+0000)
Subject: ShowxxxStats parmaters accept codes to decide which columns to show in chart.
X-Git-Tag: AWSTATS_5_1_BETA~59
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61ae9d550353507f3d64625bcda81a65a442ae33;p=thirdparty%2FAWStats.git
ShowxxxStats parmaters accept codes to decide which columns to show in chart.
---
diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl
index 504a6ead..af076f1a 100644
--- a/wwwroot/cgi-bin/awstats.pl
+++ b/wwwroot/cgi-bin/awstats.pl
@@ -6810,8 +6810,9 @@ EOF
print "$Center
\n";
my $Totalh=0; foreach my $key (keys %_filetypes_h) { $Totalh+=$_filetypes_h{$key}; }
my $Totalk=0; foreach my $key (keys %_filetypes_k) { $Totalk+=$_filetypes_k{$key}; }
- if ($ShowCompressionStats) { &tab_head("$Message[73] - $Message[98]",19); }
- else { &tab_head("$Message[73]",19); }
+ my $title="$Message[73]";
+ if ($ShowFileTypesStats =~ /C/i) { $title.=" - $Message[98]"; }
+ &tab_head("$title",19);
print "