From: eldy <> Date: Tue, 20 Jul 2004 21:19:47 +0000 (+0000) Subject: Added month and year queried in HTML title. X-Git-Tag: AWSTATS_6_3_RELEASE~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0ce0fb9560bcd3f2cb513094d6cb23f56038255;p=thirdparty%2FAWStats.git Added month and year queried in HTML title. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 273a46dd..aa0f7db9 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -560,6 +560,7 @@ sub html_head { my $dir=$PageDir?'right':'left'; if (scalar keys %HTMLOutput || $PluginMode) { my $MetaRobot=0; # meta robots + my $periodtitle=" ($YearRequired".($MonthRequired ne 'all'?"-$MonthRequired":"").")"; # Write head section if ($BuildReportFormat eq 'xhtml' || $BuildReportFormat eq 'xml') { if ($PageCode) { print "\n"; } @@ -584,9 +585,9 @@ sub html_head { else { print "\n"; } if ($Expires) { print "\n"; } - print "\n"; + print "\n"; if ($MetaRobot && $FrameName ne 'mainleft') { print "\n"; } - print "