From: Shlomi Fish Date: Sun, 5 Jun 2016 16:53:12 +0000 (+0300) Subject: Correct typos and grammar found by codespell/etc. X-Git-Tag: AWSTATS_7_6~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64f8991f8d594504f1fca6cefe8c2401403a27e4;p=thirdparty%2FAWStats.git Correct typos and grammar found by codespell/etc. Some stuff was not corrected yet. --- diff --git a/make/makepack-howto.txt b/make/makepack-howto.txt index 713cd5b3..3f81414c 100644 --- a/make/makepack-howto.txt +++ b/make/makepack-howto.txt @@ -1,5 +1,5 @@ ***** Actions to build a beta or release ***** -- Check all files are commited. +- Check all files are committed. - Update file tools/webmin/awstats/module.info - Update file README.md - Update version number in doc files diff --git a/make/pad/AWStats.pml b/make/pad/AWStats.pml index b1997315..aad7cf99 100644 --- a/make/pad/AWStats.pml +++ b/make/pad/AWStats.pml @@ -44,7 +44,7 @@ AWStats is a free powerful and featureful web server logfile analyzer (Perl script) that shows you all your Web statistics including visits, unique visitors, pages, hits, rush hours, os, browser's versions, search engines, keywords, robots visits, broken links and more... Works with all major web, wap, proxy servers and some mail and ftp servers. Works as a CGI and/or from command line. Distributed under GNU General Public License. AWStats is a free powerful and featureful tool that generates advanced web (but also ftp or mail) server -statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages like visits, unique vistors, authenticated users, pages, domains/countries, OS busiest times, robot visits, type of files, search engines/keywords used, visits duration, screen size, HTTP errors and more... +statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages like visits, unique visitors, authenticated users, pages, domains/countries, OS busiest times, robot visits, type of files, search engines/keywords used, visits duration, screen size, HTTP errors and more... Statistics can be updated from a browser or your scheduler. diff --git a/make/rpm/awstats.spec b/make/rpm/awstats.spec index 357b9faf..d103b1fa 100644 --- a/make/rpm/awstats.spec +++ b/make/rpm/awstats.spec @@ -37,7 +37,7 @@ statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web -pages like visits, unique vistors, authenticated users, pages, +pages like visits, unique visitors, authenticated users, pages, domains/countries, OS busiest times, robot visits, type of files, search engines,keywords and keyphrases used, visits duration, cluster balancing, HTTP errors and also screen size, web browser diff --git a/test/awstats/conf/awstats.testglobal.conf b/test/awstats/conf/awstats.testglobal.conf index 31836897..afee4969 100644 --- a/test/awstats/conf/awstats.testglobal.conf +++ b/test/awstats/conf/awstats.testglobal.conf @@ -113,7 +113,7 @@ LogFormat="%host %other %logname %time1 %methodurl %code %bytesd %refererquot %u DirData="/home/ldestailleur/git/awstats/test/awstats/result" # Relative or absolute web URL of your awstats.pl directory. -# Usefull only when AWStats is used from command line. +# Useful only when AWStats is used from command line. # Default: "/cgi-bin" (means awstats.pl is in "/wwwroot/cgi-bin") # DirCgi="/cgi-bin" @@ -762,7 +762,7 @@ LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /home/ldestailleur/git/awstats/test # WARNING: Extra sections are experimental feature not stable yet !!! # You can define your own charts, you choose here what are rows and columns -# keys. This feature is particularly usefull for marketing purpose, tracking +# keys. This feature is particularly useful for marketing purpose, tracking # products orders for example. # For this, edit all parameters of Extra section. Each set of parameter is a # different chart. For several charts, duplicate section changing the number. diff --git a/test/awstats/conf/awstats.testsmall.conf b/test/awstats/conf/awstats.testsmall.conf index 0510d693..774af3db 100644 --- a/test/awstats/conf/awstats.testsmall.conf +++ b/test/awstats/conf/awstats.testsmall.conf @@ -113,7 +113,7 @@ LogFormat="%host %other %logname %time1 %methodurl %code %bytesd %refererquot %u DirData="/home/ldestailleur/git/awstats/test/awstats/result" # Relative or absolute web URL of your awstats.pl directory. -# Usefull only when AWStats is used from command line. +# Useful only when AWStats is used from command line. # Default: "/cgi-bin" (means awstats.pl is in "/wwwroot/cgi-bin") # DirCgi="/cgi-bin" @@ -762,7 +762,7 @@ LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /home/ldestailleur/git/awstats/test # WARNING: Extra sections are experimental feature not stable yet !!! # You can define your own charts, you choose here what are rows and columns -# keys. This feature is particularly usefull for marketing purpose, tracking +# keys. This feature is particularly useful for marketing purpose, tracking # products orders for example. # For this, edit all parameters of Extra section. Each set of parameter is a # different chart. For several charts, duplicate section changing the number. diff --git a/test/awstats/conf/awstats.testtime5.conf b/test/awstats/conf/awstats.testtime5.conf index afbc4145..305bb9e8 100644 --- a/test/awstats/conf/awstats.testtime5.conf +++ b/test/awstats/conf/awstats.testtime5.conf @@ -113,7 +113,7 @@ LogFormat="%host %other %logname %time5 %methodurl %code %bytesd %refererquot %u DirData="/home/ldestailleur/git/awstats/test/awstats/result" # Relative or absolute web URL of your awstats.pl directory. -# Usefull only when AWStats is used from command line. +# Useful only when AWStats is used from command line. # Default: "/cgi-bin" (means awstats.pl is in "/wwwroot/cgi-bin") # DirCgi="/cgi-bin" @@ -762,7 +762,7 @@ LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /home/ldestailleur/git/awstats/test # WARNING: Extra sections are experimental feature not stable yet !!! # You can define your own charts, you choose here what are rows and columns -# keys. This feature is particularly usefull for marketing purpose, tracking +# keys. This feature is particularly useful for marketing purpose, tracking # products orders for example. # For this, edit all parameters of Extra section. Each set of parameter is a # different chart. For several charts, duplicate section changing the number. diff --git a/test/test.pl b/test/test.pl index 23ece847..e22da9e8 100755 --- a/test/test.pl +++ b/test/test.pl @@ -101,9 +101,9 @@ while(1==1) chomp $bidon; $bidon =~ s/\r//g; } - my @choosed=(); - if ($bidon eq '0') { @choosed=@TESTLIST; } - else { push @choosed, $TESTLIST[$bidon-1]; } + my @chosen=(); + if ($bidon eq '0') { @chosen=@TESTLIST; } + else { push @chosen, $TESTLIST[$bidon-1]; } # Option output print "Choose output option (browserdetail, osdetail, ...)\n"; @@ -115,7 +115,7 @@ while(1==1) if ($bidon) { $OPTIONOUTPUT=$bidon; } my $command=my $ret=''; - foreach my $test (@choosed) { + foreach my $test (@chosen) { print "\n----- Lancement du test $test -----\n"; unlink("$DIRRESULT/dnscachelastupdate.$test.txt"); diff --git a/tools/awstats_buildstaticpages.pl b/tools/awstats_buildstaticpages.pl index 3810d48d..7d89bd04 100755 --- a/tools/awstats_buildstaticpages.pl +++ b/tools/awstats_buildstaticpages.pl @@ -469,7 +469,7 @@ if ($QueryString =~ /(^|-|&)buildpdf/i) { my $exit_value=$? >> 8; if ($? || $retour =~ /error/) { if ($retour) { error("Failed to build PDF file with following error: $retour"); } - else { error("Failed to run successfuly htmldoc process: Return code=$exit_value, Killer signal num=$signal_num, Core dump=$dumped_core"); } + else { error("Failed to run successfully htmldoc process: Return code=$exit_value, Killer signal num=$signal_num, Core dump=$dumped_core"); } } $cpt++; } diff --git a/tools/awstats_configure.pl b/tools/awstats_configure.pl index d1fe7a90..d02170c7 100755 --- a/tools/awstats_configure.pl +++ b/tools/awstats_configure.pl @@ -192,7 +192,7 @@ while() { $value =~ s/^[\s\'\"]+//; $value =~ s/[\s\'\"]+$//; if ($param) { - # cleanparam is param without begining # + # cleanparam is param without its beginning # my $cleanparam=$param; my $wascleaned=0; if ($cleanparam =~ s/^#//) { $wascleaned=1; } if (defined($ConfToChange{"$cleanparam"}) && $ConfToChange{"$cleanparam"}) { $savline = ($wascleaned?"#":"")."$cleanparam=\"".$ConfToChange{"$cleanparam"}."\"\n"; } @@ -383,7 +383,7 @@ if ($OS eq 'linux' || $OS eq 'macosx') { if ($OS eq 'windows' && "$^O" !~ /cygwin/i) { $reg->Delimiter("/"); if ($tips=$reg->{"LMachine/Software/Apache Group/Apache/"}) { - # If Apache registry call successfull + # If Apache registry call successful my $found=0; foreach( sort keys %$tips ) { my $path=$reg->{"LMachine/Software/Apache Group/Apache/$_/ServerRoot"}; diff --git a/tools/logresolvemerge.pl b/tools/logresolvemerge.pl index 0b6b9790..6c470842 100755 --- a/tools/logresolvemerge.pl +++ b/tools/logresolvemerge.pl @@ -374,7 +374,7 @@ if (scalar @ParamFile == 0) { print "OF DISK SPACE AT ALL) and without loading files into memory (NO NEED\n"; print "OF MORE MEMORY). Choose of output records is done on the fly.\n"; print "\n"; - print "So logresolvemerge is particularly usefull when you want to output several\n"; + print "So logresolvemerge is particularly useful when you want to output several\n"; print "and/or large log files in a fast process, with no use of disk or\n"; print "more memory, and in a chronological order through a pipe (to be used by a log\n"; print "analyzer).\n"; @@ -423,7 +423,7 @@ my $timetomorrow=$tomorrowyear.$tomorrowmonth.$tomorrowday.$tomorrowhour.$tomorr $NBOFLINESFORBENCHMARK--; if ($ENV{"GATEWAY_INTERFACE"}) { $DirCgi=''; } if ($DirCgi && !($DirCgi =~ /\/$/) && !($DirCgi =~ /\\$/)) { $DirCgi .= '/'; } -if (! $DirData || $DirData eq '.') { $DirData=$DIR; } # If not defined or choosed to "." value then DirData is current dir +if (! $DirData || $DirData eq '.') { $DirData=$DIR; } # If not defined or chosen as "." value then DirData is current dir if (! $DirData) { $DirData='.'; } # If current dir not defined then we put it to "." $DirData =~ s/\/$//; @@ -665,7 +665,7 @@ STOPONFIRSTEOF: while (1 == 1) if(!defined($logfilechosen)) { last; } # No more record to process # Record is chosen - if ($Debug) { debug(" We choosed to qualify record of file number $logfilechosen",3); } + if ($Debug) { debug(" We chose to qualify record of file number $logfilechosen",3); } if ($Debug) { debug(" Record is $linerecord{$logfilechosen}",3); } # Record is approved. We found a new line to parse in file number $logfilechosen diff --git a/tools/maillogconvert.pl b/tools/maillogconvert.pl index b0cf7aeb..d5f7b06b 100755 --- a/tools/maillogconvert.pl +++ b/tools/maillogconvert.pl @@ -274,7 +274,7 @@ while (<>) { # or 'reject: RCPT from unknown[62.205.124.145]: 450 Client host rejected: cannot find your hostname, [62.205.124.145]; from= to= proto=ESMTP helo=' # or 'reject: RCPT from unknown[80.245.33.2]: 450 : User unknown in local recipient table;' if ($code =~ /\s+(\d\d\d)\s+/) { $mail{$mailid}{'code'}=$1; } - else { $mail{$mailid}{'code'}=999; } # Unkown error + else { $mail{$mailid}{'code'}=999; } # Unknown error if (! $mail{$mailid}{'relay_s'} && $code =~ /from\s+([^\s]+)\s+/) { $mail{$mailid}{'relay_s'}=&trim($1); } @@ -303,7 +303,7 @@ while (<>) { my ($mon,$day,$time,$id,$to,$relay_r)=m/(\w+)\s+(\d+)\s+(\d+:\d+:\d+)\s+[\w\-\.\@]+\s+(?:postfix\/(?:local|lmtp|smtpd|smtp|virtual|pipe))\[\d+\]:\s+(.*?):\s+to=([^\s,]*)[\s,]+relay=([^\s,]*)/; $mailid=($id eq 'reject'?'999':$id); # id not provided in log, we take '999' if ($mailid) { - $mail{$mailid}{'code'}=999; # Unkown error (bounced) + $mail{$mailid}{'code'}=999; # Unknown error (bounced) $mail{$mailid}{'to'}=&trim($to); $mail{$mailid}{'relay_r'}=&trim($relay_r); $mail{$mailid}{'year'}=$year; ### ### @@ -339,7 +339,7 @@ while (<>) { $mail{$mailid}{'relay_s'}=$relay_s; # $code='reject=550 5.7.1 ... Relaying denied' if ($code =~ /=(\d\d\d)\s+/) { $mail{$mailid}{'code'}=$1; } - else { $mail{$mailid}{'code'}=999; } # Unkown error + else { $mail{$mailid}{'code'}=999; } # Unknown error $mail{$mailid}{'year'}=$year; ### ### $mail{$mailid}{'mon'}=$mon; $mail{$mailid}{'day'}=$day; diff --git a/tools/webmin/awstats/awstats-lib.pl b/tools/webmin/awstats/awstats-lib.pl index 8e09c88e..8055a69d 100644 --- a/tools/webmin/awstats/awstats-lib.pl +++ b/tools/webmin/awstats/awstats-lib.pl @@ -66,7 +66,7 @@ sub update_config $value =~ s/^[\s\'\"]+//; $value =~ s/[\s\'\"]+$//; if ($param) { - # cleanparam is param without begining # + # cleanparam is param without its beginning # my $cleanparam=$param; my $wascleaned=0; if ($cleanparam =~ s/^#//) { $wascleaned=1; } if ($cleanparam !~ /LoadPlugin/i && defined($conf->{$cleanparam})) { @@ -160,7 +160,7 @@ sub get_dirdata $value =~ s/^[\s\'\"]+//; $value =~ s/[\s\'\"]+$//; if ($param) { - # cleanparam is param without begining # + # cleanparam is param without its beginning # my $cleanparam=$param; my $wascleaned=0; if ($cleanparam =~ s/^#//) { $wascleaned=1; } if ($cleanparam =~ /^DirData/) { diff --git a/tools/webmin/awstats/awstats-webmin_changelog.txt b/tools/webmin/awstats/awstats-webmin_changelog.txt index eaee0fcc..87b0a652 100644 --- a/tools/webmin/awstats/awstats-webmin_changelog.txt +++ b/tools/webmin/awstats/awstats-webmin_changelog.txt @@ -53,7 +53,7 @@ New features/improvements: - Better description for ACL page. Fixes: -- Translation was in french for some texts, whatever was choosed language. +- Translation was in french for some texts, regardless of the chosen language. @@ -69,7 +69,7 @@ New features/improvements: ShowWormsStats - Removed LinkToIPWhoIs and LinkToWhoIs obsolete parameters. - Module setup parameter awstats_conf has been removed since now - directories into wich you can scan/edit AWStats configuration files + directories into which you can scan/edit AWStats configuration files are defined in ACL users. Defined to /etc/awstats by default. Also added a link the the ACL page to edit this directory listing. - Added a streaming server log file type. diff --git a/tools/webmin/awstats/lang/en b/tools/webmin/awstats/lang/en index 446758dd..abf400b4 100644 --- a/tools/webmin/awstats/lang/en +++ b/tools/webmin/awstats/lang/en @@ -46,7 +46,7 @@ edit_headernew=Config file Builder Assistant edit_file=File content edit_add=Config file name to create edit_create_by_copy=Create a new config file by copying an existing one -edit_create_from_scratch=Create a new config file with folowing parameters +edit_create_from_scratch=Create a new config file with the following parameters edit_config_to_copy=Config file name to copy edit_user=Run AWStats as user edit_ecannot=You are not allowed to edit this config file @@ -55,10 +55,10 @@ edit_efilecannot=The config file '$1' is not in an allowed directory save_err=Error in config file build save_efile=Config file name was not entered save_fileexists=Config file already exists -save_edir=Directory '$1' choosed to write your config file into is not allowed by Webmin permissions. +save_edir=Directory '$1' chosen to write your config file into is not allowed by Webmin permissions. save_ecannot=You are only allowed to view or generate reports for config under $1 save_errLogFile=Error in LogFile parameter. Log file $1 does not exists or is not readable -save_errLogFormat=Error in LogFormat parameter. Parameter is nto defined +save_errLogFormat=Error in LogFormat parameter. Parameter is not defined save_errSiteDomain=Error in SiteDomain parameter. Parameter is not defined save_errDirData=Error in DirData parameter. Parameter is not defined or directory does not exists save_dirnotexists=Directory does not exists @@ -101,7 +101,7 @@ viewall_u=Unique visitors viewall_v=Visits viewall_p=Pages viewall_h=Hits -viewall_k=Bandwith +viewall_k=Bandwidth month01=January month02=February @@ -114,4 +114,4 @@ month08=August month09=September month10=October month11=November -month12=December \ No newline at end of file +month12=December diff --git a/tools/webmin/awstats/view_all.cgi b/tools/webmin/awstats/view_all.cgi index c5ef5249..d6d99942 100644 --- a/tools/webmin/awstats/view_all.cgi +++ b/tools/webmin/awstats/view_all.cgi @@ -199,7 +199,7 @@ if (scalar @config) { $value =~ s/^[\s\'\"]+//; $value =~ s/[\s\'\"]+$//; if ($param) { - # cleanparam is param without begining # + # cleanparam is param without its beginning # my $cleanparam=$param; my $wascleaned=0; if ($cleanparam =~ s/^#//) { $wascleaned=1; } diff --git a/wwwroot/cgi-bin/awredir.pl b/wwwroot/cgi-bin/awredir.pl index 3c560b93..f5794b11 100755 --- a/wwwroot/cgi-bin/awredir.pl +++ b/wwwroot/cgi-bin/awredir.pl @@ -43,9 +43,9 @@ $TXTFILE="awredir.trc"; # Tracking file (if TRACEFILE=1) $EXCLUDEIP="127.0.0.1"; # Put here a personalised value. -# If you dont want to use the security key in link to avoid use of awredir by an external web -# site you can set this to empty string, but warning this is a security hole as everybody -# can use awredir on your site to redirect to any web site (even non legal web sites). +# If you do not want to use the security key in link to avoid use of awredir by an external web +# site, you can set this to the empty string, but be warned that this is a security hole as everybody +# can use awredir on your site to redirect to any web site (including illegal web sites). $KEYFORMD5='YOURKEYFORMD5'; # Put here url pattern you want to allow event if parameter key is not provided. $AUTHORIZEDWITHOUTKEY=''; diff --git a/wwwroot/cgi-bin/awstats.model.conf b/wwwroot/cgi-bin/awstats.model.conf index d7153147..362122d0 100644 --- a/wwwroot/cgi-bin/awstats.model.conf +++ b/wwwroot/cgi-bin/awstats.model.conf @@ -278,7 +278,7 @@ AllowFullYearView=2 #----------------------------------------------------------------------------- -# OPTIONAL SETUP SECTION (Not required but increase AWStats features) +# OPTIONAL SETUP SECTION (Not required but enhances AWStats's functionality) #----------------------------------------------------------------------------- # When the update process runs, AWStats can set a lock file in TEMP or TMP @@ -289,7 +289,7 @@ AllowFullYearView=2 # lock file not correctly removed (killed process for example requires that # you remove the file manualy), this option is not enabled by default (Do # not enable this option with no console server access). -# Change : Effective immediatly +# Change : Effective immediately # Possible values: 0 or 1 # Default: 0 # @@ -335,11 +335,11 @@ SkipDNSLookupFor="" # The following two parameters allow you to protect a config file from being -# read by AWStats when called from a browser if web user has not been +# read by AWStats when called from a browser if the web user has not been # authenticated. Your AWStats program must be in a web protected "realm" (With # Apache, you can use .htaccess files to do so. With other web servers, see # your server setup manual). -# Change : Effective immediatly +# Change : Effective immediately # Possible values: 0 or 1 # Default: 0 # @@ -349,7 +349,7 @@ AllowAccessFromWebToAuthenticatedUsersOnly=0 # This parameter gives the list of all authorized authenticated users to view # statistics for this domain/config file. This parameter is used only if # AllowAccessFromWebToAuthenticatedUsersOnly is set to 1. -# Change : Effective immediatly +# Change : Effective immediately # Example: "user1 user2" # Example: "__REMOTE_USER__" # Default: "" @@ -360,7 +360,7 @@ AllowAccessFromWebToFollowingAuthenticatedUsers="" # When this parameter is defined to something, the IP address of the user that # reads its statistics from a browser (when AWStats is used as a CGI) is # checked and must match one of the IP address values or ranges. -# Change : Effective immediatly +# Change : Effective immediately # Example: "127.0.0.1 123.123.123.1-123.123.123.255" # Default: "" # @@ -372,7 +372,7 @@ AllowAccessFromWebToFollowingIPAddresses="" # This option can be used by some Web Hosting Providers that has defined a # dynamic value for DirData (for example DirData="/home/__REMOTE_USER__") and # don't want to have to create a new directory each time they add a new user. -# Change : Effective immediatly +# Change : Effective immediately # Possible values: 0 or 1 # Default: 0 # @@ -392,7 +392,7 @@ BuildHistoryFormat=text # If you prefer having the report output pages be built as XML compliant pages # instead of simple HTML pages, you can set this to 'xhtml' (May not work # properly with old browsers). -# Change : Effective immediatly +# Change : Effective immediately # Possible values: html or xhtml # Default: html # @@ -744,7 +744,7 @@ URLReferrerWithQuery=0 # AWStats can detect setup problems or show you important informations to have # a better use. Keep this to 1, except if AWStats says you can change it. -# Change : Effective immediatly +# Change : Effective immediately # Possible values: 0 or 1 # Default: 1 # @@ -754,7 +754,7 @@ WarningMessages=1 # When an error occurs, AWStats outputs a message related to errors. If you # want (in most cases for security reasons) to have no error messages, you # can set this parameter to your personalized generic message. -# Change : Effective immediatly +# Change : Effective immediately # Example: "An error occurred. Contact your Administrator" # Default: "" # @@ -764,7 +764,7 @@ ErrorMessages="" # AWStat can be run with debug=x parameter to output various informations # to help in debugging or solving troubles. If you want to allow this (not # enabled by default for security reasons), set this parameter to 0. -# Change : Effective immediatly +# Change : Effective immediately # Possible values: 0 or 1 # Default: 0 # @@ -787,7 +787,7 @@ NbOfLinesForCorruptedLog=50 # For some particular integration needs, you may want to have CGI links to # point to another script than awstats.pl. # Use the name of this script in WrapperScript parameter. -# Change : Effective immediatly +# Change : Effective immediately # Example: "awstatslauncher.pl" # Example: "awstatswrapper.cgi?key=123" # Default: "" @@ -964,7 +964,7 @@ ShowMenu=1 # V = Visits # P = Number of pages # H = Number of hits (or mails) -# B = Bandwith (or total mail size for mail logs) +# B = Bandwidth (or total mail size for mail logs) # L = Last access date # E = Entry pages # X = Exit pages diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index bf7fadcd..647f353a 100755 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -3254,7 +3254,7 @@ sub Read_Plugins { ); } - # Plugin load and init successfull + # Plugin load and init successful foreach my $elem ( split( /\s+/, $initret ) ) { # Some functions can only be plugged once @@ -3596,7 +3596,7 @@ sub Read_History_With_TmpUpdate { } if ( !$withupdate && $HTMLOutput{'main'} && $ShowKeywordsStats ) { $SectionsToLoad{'keywords'} = $order++; - } # If we update, dont need to load + } # If we update, there is no need to load # Others if ( $UpdateStats || $MigrateStats @@ -7929,7 +7929,7 @@ sub Sanitize { # cookie used for AWStats server sessions. Attacker can this way caught this # cookie and used it to go on AWStats server like original visitor. For this # resaon, parameter received by AWStats must be sanitized by this function -# before beeing put inside a web page. +# before being put inside a web page. # Parameters: stringtoclean # Input: None # Output: None @@ -7997,7 +7997,7 @@ sub FileCopy { # Parameters: query # Input: None # Output: None -# Return: formated query +# Return: formatted query #------------------------------------------------------------------------------ # TODO Appeller cette fonction partout ou il y a des NewLinkParams sub CleanNewLinkParamsFrom { @@ -10677,7 +10677,7 @@ sub HTMLMainFileType{ $count++; } - # Add total (only usefull if compression is enabled) + # Add total (only useful if compression is enabled) if ( $ShowFileTypesStats =~ /C/i ) { my $colspan = 3; if ( $ShowFileTypesStats =~ /H/i ) { $colspan += 2; } @@ -11239,7 +11239,7 @@ sub HTMLShowOSDetail{ } #------------------------------------------------------------------------------ -# Function: Prints the Unkown OS Detail frame or static page +# Function: Prints the Unknown OS Detail frame or static page # Parameters: $NewLinkTarget # Input: _ # Output: HTML diff --git a/wwwroot/cgi-bin/lib/operating_systems.pm b/wwwroot/cgi-bin/lib/operating_systems.pm index 27c3fb81..9916fe07 100644 --- a/wwwroot/cgi-bin/lib/operating_systems.pm +++ b/wwwroot/cgi-bin/lib/operating_systems.pm @@ -115,7 +115,7 @@ 'inferno', 'palmos', 'syllable', -# Miscellanous OS +# Miscellaneous OS 'blackberry', 'cp/m', 'crayos', @@ -234,7 +234,7 @@ 'inferno','inferno', 'palmos','palmos', 'syllable','syllable', -# Miscellanous OS +# Miscellaneous OS 'blackberry','blackberry', 'cp/m','cp/m', 'crayos','crayos', @@ -339,7 +339,7 @@ 'inferno','Inferno', 'palmos','Palm OS', 'syllable','Syllable', -# Miscellanous OS +# Miscellaneous OS 'blackberry','BlackBerry', 'cp/m','CP/M', 'crayos','CrayOS', @@ -363,4 +363,4 @@ # OEM Service Release 2.5 4.03.1214* (4.00.950C) 8/24/96-11/18/97 # Windows 98 retail, OEM 4.10.1998 5/11/98 # Windows 98 Second Edition 4.10.2222A 4/23/99 -# Windows Me 4.90.3000 \ No newline at end of file +# Windows Me 4.90.3000 diff --git a/wwwroot/cgi-bin/lib/status_smtp.pm b/wwwroot/cgi-bin/lib/status_smtp.pm index 5397a9c7..8eb7e421 100644 --- a/wwwroot/cgi-bin/lib/status_smtp.pm +++ b/wwwroot/cgi-bin/lib/status_smtp.pm @@ -12,7 +12,7 @@ # This list is used to found description of a SMTP status code #----------------------------------------------------------------- %smtpcodelib = ( -#[Successfull code] +#[A successful code] '200'=>'Nonstandard success response', '211'=>'System status, or system help reply', '214'=>'Help message', @@ -70,4 +70,4 @@ ); -1; \ No newline at end of file +1; diff --git a/wwwroot/cgi-bin/plugins/clusterinfo.pm b/wwwroot/cgi-bin/plugins/clusterinfo.pm index bc9b55ea..4f1b9019 100644 --- a/wwwroot/cgi-bin/plugins/clusterinfo.pm +++ b/wwwroot/cgi-bin/plugins/clusterinfo.pm @@ -3,9 +3,10 @@ # ClusterInfo AWStats plugin # This plugin allow you to add information on cluster chart from # a text file. Like full cluster hostname. -# You must create a file called clusterinfo.configvalue.txt wich contains 2 -# columns separated by a tab char, and store it in DirData directory. -# First column is cluster number and second column is text you want to add. +# You must create a file called clusterinfo.configvalue.txt which contains 2 +# columns separated by a tab char, and store it in the DirData directory. +# The first column is the cluster number and the second column is the text +# you want to add. #----------------------------------------------------------------------------- # Perl Required Modules: None #----------------------------------------------------------------------------- diff --git a/wwwroot/cgi-bin/plugins/example/example.pm b/wwwroot/cgi-bin/plugins/example/example.pm index 473572dd..166938f0 100644 --- a/wwwroot/cgi-bin/plugins/example/example.pm +++ b/wwwroot/cgi-bin/plugins/example/example.pm @@ -136,7 +136,7 @@ sub AddHTMLContentHeader_example { } #----------------------------------------------------------------------------- -# PLUGIN FUNTION: BuildFullHTMLOutput_pluginname +# PLUGIN FUNCTION: BuildFullHTMLOutput_pluginname # UNIQUE: NO (Several plugins using this function can be loaded) # Function called to output an HTML page completely built by plugin instead # of AWStats output diff --git a/wwwroot/cgi-bin/plugins/hashfiles.pm b/wwwroot/cgi-bin/plugins/hashfiles.pm index 27d6fb53..3616a5ba 100644 --- a/wwwroot/cgi-bin/plugins/hashfiles.pm +++ b/wwwroot/cgi-bin/plugins/hashfiles.pm @@ -53,7 +53,7 @@ sub Init_hashfiles { #----------------------------------------------------------------------------- -# PLUGIN FUNTION: SearchFile_pluginname +# PLUGIN FUNCTION: SearchFile_pluginname # UNIQUE: YES (Only one plugin using this function can be loaded) #----------------------------------------------------------------------------- sub SearchFile_hashfiles { diff --git a/wwwroot/cgi-bin/plugins/hostinfo.pm b/wwwroot/cgi-bin/plugins/hostinfo.pm index 1715242f..95b2c20b 100644 --- a/wwwroot/cgi-bin/plugins/hostinfo.pm +++ b/wwwroot/cgi-bin/plugins/hostinfo.pm @@ -127,7 +127,7 @@ sub ShowInfoHost_hostinfo { #----------------------------------------------------------------------------- -# PLUGIN FUNTION: BuildFullHTMLOutput_pluginname +# PLUGIN FUNCTION: BuildFullHTMLOutput_pluginname # UNIQUE: NO (Several plugins using this function can be loaded) # Function called to output an HTML page completely built by plugin instead # of AWStats output diff --git a/wwwroot/cgi-bin/plugins/rawlog.pm b/wwwroot/cgi-bin/plugins/rawlog.pm index f4483a19..a403a27e 100644 --- a/wwwroot/cgi-bin/plugins/rawlog.pm +++ b/wwwroot/cgi-bin/plugins/rawlog.pm @@ -57,7 +57,7 @@ sub Init_rawlog { #----------------------------------------------------------------------------- -# PLUGIN FUNTION: AddHTMLBodyHeader_pluginname +# PLUGIN FUNCTION: AddHTMLBodyHeader_pluginname # UNIQUE: NO (Several plugins using this function can be loaded) # Function called to Add HTML code at beginning of BODY section. #----------------------------------------------------------------------------- @@ -71,7 +71,7 @@ sub AddHTMLBodyHeader_rawlog { #----------------------------------------------------------------------------- -# PLUGIN FUNTION: BuildFullHTMLOutput_pluginname +# PLUGIN FUNCTION: BuildFullHTMLOutput_pluginname # UNIQUE: NO (Several plugins using this function can be loaded) # Function called to output an HTML page completely built by plugin instead # of AWStats output diff --git a/wwwroot/cgi-bin/plugins/tooltips.pm b/wwwroot/cgi-bin/plugins/tooltips.pm index 2ba14420..254d219c 100644 --- a/wwwroot/cgi-bin/plugins/tooltips.pm +++ b/wwwroot/cgi-bin/plugins/tooltips.pm @@ -70,7 +70,7 @@ sub AddHTMLStyles_tooltips { #----------------------------------------------------------------------------- -# PLUGIN FUNTION: AddHTMLBodyHeader_pluginname +# PLUGIN FUNCTION: AddHTMLBodyHeader_pluginname # UNIQUE: NO (Several plugins using this function can be loaded) # Function called to Add HTML code at beginning of BODY section. #----------------------------------------------------------------------------- diff --git a/wwwroot/cgi-bin/plugins/userinfo.pm b/wwwroot/cgi-bin/plugins/userinfo.pm index 5f67915e..49fd0c96 100644 --- a/wwwroot/cgi-bin/plugins/userinfo.pm +++ b/wwwroot/cgi-bin/plugins/userinfo.pm @@ -3,7 +3,7 @@ # UserInfo AWStats plugin # This plugin allow you to add information on authenticated users chart from # a text file. Like full user name and lastname. -# You must create a file called userinfo.configvalue.txt wich contains 2 +# You must create a file called userinfo.configvalue.txt which contains 2 # columns separated by a tab char, and store it in DirData directory. # First column is authenticated user login and second column is text you want # to add. diff --git a/wwwroot/js/awstats_misc_tracker.js b/wwwroot/js/awstats_misc_tracker.js index 8dfe2dc5..91e61566 100644 --- a/wwwroot/js/awstats_misc_tracker.js +++ b/wwwroot/js/awstats_misc_tracker.js @@ -13,7 +13,7 @@ // screen height and width attributes until it begins to render the // body. // -// This allows AWStats to be enhanced with some miscellanous features: +// This allows AWStats to be enhanced with some miscellaneous features: // - Screen size detection (TRKscreen) // - Browser size detection (TRKwinsize) // - Screen color depth detection (TRKcdi)