Changeset 312 for trunk/cgi-bin


Ignore:
Timestamp:
03/31/06 11:52:25 (19 years ago)
Author:
Kris Deugau
Message:

/trunk

Remove billing backlink for "regular" IPDB allocation of DSL static
IPs and raduser "netblocks".

File:
1 edited

Legend:

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

    r302 r312  
    849849      $msg =~ s|/32||;
    850850      print qq(<div class="center"><div class="heading">The IP $msg has been allocated to customer $webvar{custid}</div>).
    851         ($webvar{alloctype} eq 'di' ?
     851        ( ($webvar{alloctype} eq 'di' && $webvar{billinguser}) ?
    852852                qq(<div><a href="https://billing.example.com/extserv.pl?).
    853853                "action=new_radius_user&oldcustid=$webvar{custid}&userid=$webvar{billinguser}".
     
    862862      print qq(<div class="center"><div class="heading">The block $webvar{fullcidr} was ).
    863863        "sucessfully added as: $disp_alloctypes{$webvar{alloctype}}</div>".
    864         ($webvar{alloctype} eq 'pr' ?
     864        ( ($webvar{alloctype} eq 'pr' && webvar{billinguser}) ?
    865865                qq(<div><a href="https://billing.example.com/extserv.pl?).
    866866                "action=new_radius_user&oldcustid=$webvar{custid}&userid=$webvar{billinguser}".
Note: See TracChangeset for help on using the changeset viewer.