]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Look: nowrap on email chat for size and date
authoreldy <>
Wed, 28 Jun 2006 01:19:30 +0000 (01:19 +0000)
committereldy <>
Wed, 28 Jun 2006 01:19:30 +0000 (01:19 +0000)
wwwroot/cgi-bin/awstats.pl

index 7870e57771e203923888a67e89599bae735568e2..19a5c807fe515c0f1667df827fa02ea43ef4b3a4 100644 (file)
@@ -5336,9 +5336,9 @@ sub ShowEmailSendersChart {
                if ($direction == 0) { print "<td colspan=\"3\"><span style=\"color: #$color_other\">$newkey</span></td>"; }
                if ($direction < 0) { print "<td class=\"aws\">&nbsp;</td><td>&lt;-</td><td>$newkey</td>"; }
                if ($ShowEMailSenders =~ /H/i) { print "<td>$_emails_h{$key}</td>"; }
-               if ($ShowEMailSenders =~ /B/i) { print "<td>".Format_Bytes($_emails_k{$key})."</td>"; }
-               if ($ShowEMailSenders =~ /M/i) { print "<td>".Format_Bytes($_emails_k{$key}/($_emails_h{$key}||1))."</td>"; }
-               if ($ShowEMailSenders =~ /L/i) { print "<td>".($_emails_l{$key}?Format_Date($_emails_l{$key},1):'-')."</td>"; }
+               if ($ShowEMailSenders =~ /B/i) { print "<td nowrap=\"nowrap\">".Format_Bytes($_emails_k{$key})."</td>"; }
+               if ($ShowEMailSenders =~ /M/i) { print "<td nowrap=\"nowrap\">".Format_Bytes($_emails_k{$key}/($_emails_h{$key}||1))."</td>"; }
+               if ($ShowEMailSenders =~ /L/i) { print "<td nowrap=\"nowrap\">".($_emails_l{$key}?Format_Date($_emails_l{$key},1):'-')."</td>"; }
                print "</tr>\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 "<tr><td colspan=\"3\"><span style=\"color: #$color_other\">$Message[2]</span></td>";
                if ($ShowEMailSenders =~ /H/i) { print "<td>$rest_h</td>"; }
-               if ($ShowEMailSenders =~ /B/i) { print "<td>".Format_Bytes($rest_k)."</td>"; }
-               if ($ShowEMailSenders =~ /M/i) { print "<td>".Format_Bytes($rest_k/($rest_h||1))."</td>"; }
+               if ($ShowEMailSenders =~ /B/i) { print "<td nowrap=\"nowrap\">".Format_Bytes($rest_k)."</td>"; }
+               if ($ShowEMailSenders =~ /M/i) { print "<td nowrap=\"nowrap\">".Format_Bytes($rest_k/($rest_h||1))."</td>"; }
                if ($ShowEMailSenders =~ /L/i) { print "<td>&nbsp;</td>"; }
                print "</tr>\n";
        }