From: eldy <>
Date: Wed, 18 Jun 2003 21:08:14 +0000 (+0000)
Subject: Added a "Miscellanous chart" to report ratio of Browsers that support: Java, Flash...
X-Git-Tag: AWSTATS_5_6_BETA~9
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d53b87573f0313d48ec3c0d2eaff781391f09635;p=thirdparty%2FAWStats.git
Added a "Miscellanous chart" to report ratio of Browsers that support: Java, Flash, Real reader, Quicktime reader, WMA reader, PDF reader.
---
diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl
index ab38fcb0..6820d98c 100644
--- a/wwwroot/cgi-bin/awstats.pl
+++ b/wwwroot/cgi-bin/awstats.pl
@@ -518,7 +518,14 @@ use vars qw/ @Message /;
'Worm/Virus attacks',
'Add to favourites',
'Days of month',
-'Miscellanous'
+'Miscellanous',
+'Browsers with Java support',
+'Browsers with Macromedia Director Support',
+'Browsers with Flash Support',
+'Browsers with Real audio playing support',
+'Browsers with Quictime audio playing support',
+'Browsers with Windows Media audio playing support',
+'Browsers with PDF support',
);
@@ -8845,8 +8852,11 @@ if (scalar keys %HTMLOutput) {
&tab_head("$title",19);
print "
| $Message[139] | ";
print "  | ";
- print "  | ";
+ print "  | ";
print "
\n";
+ my %label=('AddToFavourites'=>$Message[137],'JavaEnabled'=>$Message[140],'DirectorSupport'=>$Message[141],
+ 'FlashSupport'=>$Message[142],'RealPlayerSupport'=>$Message[143],'QuickTimeSupport'=>$Message[144],
+ 'MediaPlayerSupport'=>$Message[145],'PDFSupport'=>$Message[146]);
foreach my $key (@MiscListOrder) {
my $total=0;
my $p;
@@ -8855,10 +8865,10 @@ if (scalar keys %HTMLOutput) {
if ($MiscListCalc{$key} eq 'hm') { $total=$_misc_h{'TotalMisc'}||0; }
if ($total) { $p=int($_misc_h{$key}/$total*1000)/10; }
print "";
- print "| $key | ";
+ print "".$label{$key}." | ";
if ($MiscListCalc{$key} eq 'v') { print "".int($_misc_h{$key}||0)." / $total $Message[12] | "; }
if ($MiscListCalc{$key} eq 'u') { print "".int($_misc_h{$key}||0)." / $total $Message[18] | "; }
- if ($MiscListCalc{$key} eq 'hm') { print " | "; }
+ if ($MiscListCalc{$key} eq 'hm') { print "- | "; }
print "".($total?"$p %":" ")." | ";
print "
\n";
}
diff --git a/wwwroot/cgi-bin/lang/awstats-fr.txt b/wwwroot/cgi-bin/lang/awstats-fr.txt
index 2cea71a9..133cd83e 100644
--- a/wwwroot/cgi-bin/lang/awstats-fr.txt
+++ b/wwwroot/cgi-bin/lang/awstats-fr.txt
@@ -140,10 +140,10 @@ message136=Attaques Worm/Virus
message137=Ajout aux favoris
message138=Jours du mois
message139=Divers
-message140=Browsers with Java support
-message141=Browsers with Macromedia Director Support
-message142=Browsers with Flash Support
-message143=Browsers with Real audio playing support
-message144=Browsers with Quictime audio playing support
-message145=Browsers with Windows Media audio playing support
-message146=Browsers with PDF support
+message140=Navigateurs avec support Java actif
+message141=Navigateurs avec support Macromedia Director
+message142=Navigateurs avec support Flash
+message143=Navigateurs avec support audio Real
+message144=Navigateurs avec support audio QuickTime
+message145=Navigateurs avec support audio Windows Media
+message146=Navigateurs avec support PDF