From: Laurent Destailleur Date: Fri, 8 Jan 2016 19:04:20 +0000 (+0100) Subject: Add edge in browsers X-Git-Tag: AWSTATS_7_5~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a441eb8a9a7c1da186db0d171b69412aeea757f5;p=thirdparty%2FAWStats.git Add edge in browsers --- diff --git a/wwwroot/cgi-bin/lib/browsers.pm b/wwwroot/cgi-bin/lib/browsers.pm index dd50e9ef..4d0dda89 100644 --- a/wwwroot/cgi-bin/lib/browsers.pm +++ b/wwwroot/cgi-bin/lib/browsers.pm @@ -44,6 +44,7 @@ @BrowsersSearchIDOrder = ( # Most frequent standard web browsers are first in this list except the ones hardcoded in awstats.pl: # firefox, opera, chrome, safari, konqueror, svn, msie, netscape +'edge', 'elinks', 'firebird', 'go!zilla', @@ -272,6 +273,7 @@ 'msie','MS Internet Explorer', 'netscape','Netscape', +'edge','Edge', 'elinks','ELinks', 'firebird','Firebird (Old Firefox)', 'go!zilla','Go!Zilla', @@ -524,6 +526,7 @@ 'msie','msie', 'netscape','netscape', +'edge','msie', 'firebird','phoenix', 'go!zilla','gozilla', 'icab','icab', @@ -748,6 +751,9 @@ # Browsers examples by engines # +# -- Edge -- +# Mozilla/5.0 (Windows NT 10.0; <64-bit tags>) AppleWebKit/ (KHTML, like Gecko) Chrome/ Safari/ Edge/. +# # -- Mosaic -- # MSIE 4.0 Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt; KITV4 Wanadoo; KITV5 Wanadoo) # diff --git a/wwwroot/cgi-bin/plugins/graphgooglechartapi.pm b/wwwroot/cgi-bin/plugins/graphgooglechartapi.pm index fd82f0b1..c8b3dd68 100644 --- a/wwwroot/cgi-bin/plugins/graphgooglechartapi.pm +++ b/wwwroot/cgi-bin/plugins/graphgooglechartapi.pm @@ -100,7 +100,7 @@ sub ShowGraph_graphgooglechartapi() { if ($imagewidth < 1){$imagewidth=640;} if ($type eq 'month') { - $labellength=3; + $labellength=4; print Get_Img_Tag(Graph_Monthly(), $title); } elsif ($type eq 'daysofmonth') {