Ignore:
Timestamp:
08/12/10 12:00:28 (14 years ago)
Author:
Kris Deugau
Message:

/branches/htmlform

Merge trunk bugfixes and updates

Location:
branches/htmlform
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/htmlform

  • branches/htmlform/cgi-bin/main.cgi

    r466 r468  
    960960  # because I'm lazy, we'll try to make the SELECT's bring out identical)ish) data
    961961  if ($webvar{block} =~ /\/32$/) {
    962     $sql = "select ip,custid,type,city,circuitid,description,notes,modifystamp,privdata,oldcustid from poolips where ip='$webvar{block}'";
     962    $sql = "select ip,custid,type,city,circuitid,description,notes,modifystamp,privdata from poolips where ip='$webvar{block}'";
    963963  } else {
    964     $sql = "select cidr,custid,type,city,circuitid,description,notes,modifystamp,privdata,oldcustid,swip from allocations where cidr='$webvar{block}'"
     964    $sql = "select cidr,custid,type,city,circuitid,description,notes,modifystamp,privdata,swip from allocations where cidr='$webvar{block}'"
    965965  }
    966966
     
    10371037  }
    10381038## end node hack
    1039     $html =~ s/\$\$OLDCUSTID\$\$/$data[9]/g;
    10401039    $html =~ s/\$\$CITY\$\$/<input type=text name=city value="$data[3]">/g;
    10411040    $html =~ s/\$\$CIRCID\$\$/<input type="text" name="circid" value="$data[4]" maxlength=64 size=64 class="regular">/g;
     
    10551054## end node hack
    10561055    $html =~ s/\$\$CUSTID\$\$/$data[1]/g;
    1057     $html =~ s/\$\$OLDCUSTID\$\$/$data[9]/g;
    10581056    $html =~ s/\$\$TYPESELECT\$\$/$disp_alloctypes{$data[2]}/g;
    10591057    $html =~ s/\$\$CITY\$\$/$data[3]/g;
Note: See TracChangeset for help on using the changeset viewer.