Changeset 915 for trunk/cgi-bin/admin.cgi
- Timestamp:
- 04/27/18 15:28:45 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/admin.cgi
r906 r915 149 149 ($fbid, $fb, $fbparent) = findAllocateFrom($ip_dbh, $maskbits, $webvar{alloctype}, '','', 150 150 (gimme => "$cidr", allowpriv => 1)); 151 152 # retrieve any notices 153 my $nlist = getBlockNotices($ip_dbh, $fbparent); 154 my @notices; 155 foreach (@$nlist) { 156 push @notices, $_->{notice} if $_->{notice}; 157 } 158 my $blockmsg = join("<br>\n", @notices); 159 $page->param(blockmsg => $blockmsg); 160 151 161 $page->param(fbid => $fbid); 152 162 $page->param(parid => $fbparent); … … 205 215 goto ERRJUMP; 206 216 } 217 218 # retrieve any notices 219 my $nlist = getBlockNotices($ip_dbh, $webvar{parent}); 220 my @notices; 221 foreach (@$nlist) { 222 push @notices, $_->{notice} if $_->{notice}; 223 } 224 my $blockmsg = join("<br>\n", @notices); 225 $page->param(blockmsg => $blockmsg); 207 226 208 227 my ($retcode,$msg) = allocateBlock($ip_dbh, cidr => $webvar{cidr}, fbid => $webvar{fbid},
Note:
See TracChangeset
for help on using the changeset viewer.