From: eldy <> Date: Sat, 6 Mar 2004 17:56:37 +0000 (+0000) Subject: Minor change in comments that describe history sections format. X-Git-Tag: AWSTATS_6_1_BETA~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62bd160750aa7fa30a674730bc261cb90e738470;p=thirdparty%2FAWStats.git Minor change in comments that describe history sections format. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 732ecb3e..e21a50fa 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -3365,7 +3365,7 @@ sub Save_History { print HISTORYTMP "${xmlrb}TotalUnique ";$PosInFile{"TotalUnique"}=tell HISTORYTMP;print HISTORYTMP "$spacebar${xmlre}\n"; print HISTORYTMP "${xmlrb}MonthHostsKnown ";$PosInFile{"MonthHostsKnown"}=tell HISTORYTMP;print HISTORYTMP "$spacebar${xmlre}\n"; print HISTORYTMP "${xmlrb}MonthHostsUnknown ";$PosInFile{"MonthHostsUnknown"}=tell HISTORYTMP;print HISTORYTMP "$spacebar${xmlre}\n"; - print HISTORYTMP "${xmleb}\nEND_GENERAL${xmlee}\n"; # END_GENERAL on line following xml tag because END_ detection does not work like other sections + print HISTORYTMP "${xmleb}".(${xmleb}?"\n":"")."END_GENERAL${xmlee}\n"; # END_GENERAL on a new line following xml tag because END_ detection does not work like other sections } # When @@ -3427,8 +3427,8 @@ sub Save_History { if ($sectiontosave eq 'visitor') { print HISTORYTMP "\n"; if ($xml) { print HISTORYTMP "
$MaxNbOf{'HostsShown'}\n"; } - print HISTORYTMP "# Host - Pages - Hits - Bandwidth - Last visit date - [Start of last visit date] - [Last page of last visit]\n"; - print HISTORYTMP "# [Start of last visit date] and [Last page of last visit] are saved only if session is not finished\n"; + print HISTORYTMP "# Host - Pages - Hits - Bandwidth - Last visit date - [Start date of last visit] - [Last page of last visit]\n"; + print HISTORYTMP "# [Start date of last visit] and [Last page of last visit] are saved only if session is not finished\n"; print HISTORYTMP "# The $MaxNbOf{'HostsShown'} first Hits must be first (order not required for others)\n"; $ValueInFile{$sectiontosave}=tell HISTORYTMP; print HISTORYTMP "${xmlbb}BEGIN_VISITOR ${xmlbs}".(scalar keys %_host_h)."${xmlbe}\n"; @@ -3840,7 +3840,7 @@ sub Save_History { if ($sectiontosave eq "extra_$extranum") { print HISTORYTMP "\n"; if ($xml) { print HISTORYTMP "
$MaxNbOfExtra[$extranum]\n"; } - print HISTORYTMP "# Extra key - Pages - Hits - Last access - Bandwidth\n"; + print HISTORYTMP "# Extra key - Pages - Hits - Bandwidth - Last access\n"; print HISTORYTMP "# The $MaxNbOfExtra[$extranum] first number of hits are first\n"; $ValueInFile{$sectiontosave}=tell HISTORYTMP; print HISTORYTMP "${xmlbb}BEGIN_EXTRA_$extranum ${xmlbs}".scalar (keys %{'_section_' . $extranum . '_h'})."${xmlbe}\n";