X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=maps%2Fbin%2Fdetail.cgi;h=2da6965042e8f06df7bce646446b2658d51ccd71;hb=9f51fc95d361092058a17611614f31318a3fad0c;hp=fe98a1b898a0a40f39b61713dae4ac919a3a843c;hpb=ec9dcaa8edb34b1d8be0ce254423294f01ae48ab;p=clearscm.git
diff --git a/maps/bin/detail.cgi b/maps/bin/detail.cgi
index fe98a1b..2da6965 100755
--- a/maps/bin/detail.cgi
+++ b/maps/bin/detail.cgi
@@ -174,17 +174,17 @@ sub PrintTable {
foreach my $sender (ReturnSenders $userid, $type, $next, $lines, $date) {
my @msgs = ReturnMessages $userid, $sender;
my @msgs2 = @msgs;
+ my ($onlist, $seq);
+ my $rule = 'none';
+ my $hit_count = 0;
- my ($onlist, $rule);
- $rule = 'none';
-
- ($onlist, $rule) = OnWhitelist $sender, 0;
+ ($onlist, $rule, $seq, $hit_count) = OnWhitelist $sender, $userid, 0;
unless ($onlist) {
- ($onlist, $rule) = OnBlacklist $sender, 0;
+ ($onlist, $rule, $seq, $hit_count) = OnBlacklist $sender, 0;
unless ($onlist) {
- ($onlist, $rule) = OnNulllist $sender, 0;
+ ($onlist, $rule, $seq, $hit_count) = OnNulllist $sender, 0;
} # unless
} # unless
@@ -195,7 +195,7 @@ sub PrintTable {
if ($rule =~ /(\w+):(\d+)/) {
my $list = $1;
my $sequence = $2 - 1;
- my $link = "$list:$2";
+ my $link = "$list:$2/$hit_count";
$rule =~ s/\w+:\d+/$link/;
} # if