Correct AWL columns

This commit is contained in:
Jamie Cameron
2008-11-09 06:13:40 +00:00
parent 1f0e6c5902
commit 0160a3a1d7
3 changed files with 6 additions and 1 deletions

View File

@@ -15,3 +15,5 @@ Added global configuration settings to use MySQL, PostgreSQL or LDAP backends fo
Auto-whitelists can now be viewed, deleted from and cleared for all users on the system. An access control option allows this to be limited to just certain users or group members.
---- Changes since 1.430 ----
Added buttons to the auto-whitelist page for permanently allowing or denying selected addresses.
---- Changes since 1.440 ----
Corrected the columns on the auto-whitelist page, to show the message count and score.

View File

@@ -78,6 +78,7 @@ else {
print &ui_columns_start([ "",
$text{'awl_email'},
$text{'awl_ip'},
$text{'awl_count'},
$text{'awl_score'} ], undef, 0, \@tds);
foreach $k (@keys) {
($email, $ip, $rest) = split(/\|/, $k);
@@ -90,7 +91,8 @@ else {
else {
$ip = $text{'awl_unknown'};
}
print &ui_checked_columns_row([ $email, $ip, $awl{$k} ],
$score = $awl{$k."|totscore"};
print &ui_checked_columns_row([ $email, $ip, $awl{$k}, $score ],
\@tds, "d", $k);
}
print &ui_columns_end();

View File

@@ -349,6 +349,7 @@ awl_ok=Search
awl_searching=Showing auto-whitelist entries matching $1 ..
awl_email=Email address
awl_ip=Sender's IP or network
awl_count=Messages received
awl_score=Score to apply
awl_none=None
awl_unknown=Unknown