Changeset 5 for trunk/dnsbl/dnsbl.cgi


Ignore:
Timestamp:
09/10/09 12:48:42 (15 years ago)
Author:
Kris Deugau
Message:

/trunk/dnsbl

Tweak IP-adding script, template, and the DNSBL::ipexists to show how
many times an IP has been reported

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dnsbl/dnsbl.cgi

    r2 r5  
    3737if ($webvar{page} eq 'report') {
    3838  $page->param(ip => $webvar{ip});
     39  my $count = $dnsbl->ipexists($webvar{ip});
     40  $page->param(nreports => $count) if $count;
    3941  for (my $i=0; $i<3; $i++) {
    4042    my ($block,$org) = $dnsbl->getcontainer($webvar{ip},$i);
Note: See TracChangeset for help on using the changeset viewer.