From: eldy <>
Date: Wed, 28 Jun 2006 01:19:30 +0000 (+0000)
Subject: Look: nowrap on email chat for size and date
X-Git-Tag: AWSTATS_6_6_BETA~27
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=883f72b7ffa12af2e1808dc995a29a0318b37abf;p=thirdparty%2FAWStats.git
Look: nowrap on email chat for size and date
---
diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl
index 7870e577..19a5c807 100644
--- a/wwwroot/cgi-bin/awstats.pl
+++ b/wwwroot/cgi-bin/awstats.pl
@@ -5336,9 +5336,9 @@ sub ShowEmailSendersChart {
if ($direction == 0) { print "
$newkey | "; }
if ($direction < 0) { print " | <- | $newkey | "; }
if ($ShowEMailSenders =~ /H/i) { print "$_emails_h{$key} | "; }
- if ($ShowEMailSenders =~ /B/i) { print "".Format_Bytes($_emails_k{$key})." | "; }
- if ($ShowEMailSenders =~ /M/i) { print "".Format_Bytes($_emails_k{$key}/($_emails_h{$key}||1))." | "; }
- if ($ShowEMailSenders =~ /L/i) { print "".($_emails_l{$key}?Format_Date($_emails_l{$key},1):'-')." | "; }
+ if ($ShowEMailSenders =~ /B/i) { print "".Format_Bytes($_emails_k{$key})." | "; }
+ if ($ShowEMailSenders =~ /M/i) { print "".Format_Bytes($_emails_k{$key}/($_emails_h{$key}||1))." | "; }
+ if ($ShowEMailSenders =~ /L/i) { print "".($_emails_l{$key}?Format_Date($_emails_l{$key},1):'-')." | "; }
print "\n";
#$total_p += $_emails_p{$key};
$total_h += $_emails_h{$key};
@@ -5351,8 +5351,8 @@ sub ShowEmailSendersChart {
if ($rest_p > 0 || $rest_h > 0 || $rest_k > 0) { # All other sender emails
print "| $Message[2] | ";
if ($ShowEMailSenders =~ /H/i) { print "$rest_h | "; }
- if ($ShowEMailSenders =~ /B/i) { print "".Format_Bytes($rest_k)." | "; }
- if ($ShowEMailSenders =~ /M/i) { print "".Format_Bytes($rest_k/($rest_h||1))." | "; }
+ if ($ShowEMailSenders =~ /B/i) { print "".Format_Bytes($rest_k)." | "; }
+ if ($ShowEMailSenders =~ /M/i) { print "".Format_Bytes($rest_k/($rest_h||1))." | "; }
if ($ShowEMailSenders =~ /L/i) { print " | "; }
print "
\n";
}