From: eldy <> Date: Sun, 17 Feb 2013 13:12:56 +0000 (+0000) Subject: Add pre tag to show content of log file. X-Git-Tag: AWSTATS_7_2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39d13d2a2f20a4a66aeb68823dd0c85e5f275e77;p=thirdparty%2FAWStats.git Add pre tag to show content of log file. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 18a9a865..e84078c7 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -1188,12 +1188,12 @@ sub error { if ( $LogFormat == 4 ) { print "${tagbold}\"common log format\"${tagunbold} like this:${tagbr}\n"; - print( scalar keys %HTMLOutput ? "$tagfontgrey" : "" ); + print( scalar keys %HTMLOutput ? "$tagfontgrey
" : "" );
 				print
 "111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] \"GET / HTTP/1.1\" 200 1234\n";
 				print(
 					scalar keys %HTMLOutput
-					? "$tagunfont${tagbr}${tagbr}\n"
+					? "
$tagunfont${tagbr}${tagbr}\n" : "" ); }