Changeset 28 for trunk/uribl
- Timestamp:
- 11/11/10 15:42:42 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/uribl/uridb.cgi
r27 r28 104 104 my $err = ''; 105 105 my @domlist; 106 foreach my $key (keys %webvar) { 107 next unless $key =~ /^dom\d+$/; 106 my $i = 0; 107 while (defined ($webvar{"dom$i"})) { 108 my $key = "dom$i"; 108 109 my %row; 109 110 $row{domain} = $webvar{$key}; 110 111 $row{listnum} = $webvar{$key."type"}; 111 112 $row{listtext} = $URIdb::status{$webvar{$key."type"}}; 113 $row{comment} = $webvar{$key."comment"}; 112 114 if ($webvar{$key."type"} != 0) { 113 115 $uridb->report($webvar{$key},$webvar{$key."type"},$webvar{$key."comment"}); 114 116 } 115 117 push @domlist, \%row; 118 $i++; 116 119 } 117 120 $page->param(domlist => \@domlist);
Note:
See TracChangeset
for help on using the changeset viewer.