From: eldy <>
Date: Thu, 2 Jan 2003 21:37:29 +0000 (+0000)
Subject: Added URL in possible values for ExtraSection first column.
X-Git-Tag: AWSTATS_5_4_BETA~92
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=574c683919dfe295dff657e088350cff93fa5be8;p=thirdparty%2FAWStats.git
Added URL in possible values for ExtraSection first column.
Added list of loaded plugins in AWStats copyright string.
---
diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl
index 8de66e21..34137efb 100644
--- a/wwwroot/cgi-bin/awstats.pl
+++ b/wwwroot/cgi-bin/awstats.pl
@@ -593,7 +593,16 @@ sub html_end {
if (scalar keys %HTMLOutput) {
if ($FrameName ne 'index' && $FrameName ne 'mainleft') {
print "$Center
\n";
- print "Advanced Web Statistics $VERSION - Created by $PROG
\n";
+ print "";
+ print "Advanced Web Statistics $VERSION - Created by $PROG";
+ my $atleastoneplugin=0;
+ foreach my $pluginname (keys %{$PluginsLoaded{'init'}}) {
+ if (! $atleastoneplugin) { $atleastoneplugin=1; print " (with plugin "; }
+ else { print ","; }
+ print "$pluginname";
+ }
+ if ($atleastoneplugin) { print ")"; }
+ print "
\n";
print "
\n";
print "$HTMLEndSection\n";
}
@@ -5741,7 +5750,10 @@ if ($UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft') { # Updat
foreach my $rowkeynum (0..@{$ExtraFirstColumnValuesType[$extranum]}-1) {
my $rowkeytype=$ExtraFirstColumnValuesType[$extranum][$rowkeynum];
my $rowkeytypeval=$ExtraFirstColumnValuesTypeVal[$extranum][$rowkeynum];
- if ($rowkeytype eq 'QUERY_STRING') {
+ if ($rowkeytype eq 'URL') {
+ if ($urlwithnoquery =~ m/$rowkeytypeval/) { $rowkeyval = "$1"; $rowkeyok = 1; last; }
+ }
+ elsif ($rowkeytype eq 'QUERY_STRING') {
if ($standalonequery =~ m/$rowkeytypeval/) { $rowkeyval = "$1"; $rowkeyok = 1; last; }
}
elsif ($rowkeytype eq 'REFERER') {