Changeset 654 for trunk/cgi-bin


Ignore:
Timestamp:
12/18/14 13:57:09 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Polish return-a-(legacy-)block-to-an-IP-pool return warning and links
for clarity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r651 r654  
    890890  if ($code =~ /^WARN(POOL|MERGE)/) {
    891891    my ($pid,$pcidr) = split /,/, $msg;
     892    my $real_pinfo = getBlockData($ip_dbh, $pid, 'b');
    892893    $page->param(parent_id => $pid);
    893894    $page->param(parent => $pcidr);
     895    $page->param(real_disp => $q->escapeHTML($disp_alloctypes{$real_pinfo->{type}}));
    894896    $page->param(mergeip => $code eq 'WARNPOOL');
    895897  }
Note: See TracChangeset for help on using the changeset viewer.