Changeset 297 for trunk


Ignore:
Timestamp:
11/15/05 13:17:00 (19 years ago)
Author:
Kris Deugau
Message:

/trunk

Add backlink to billing system on successful static DSL IP allocation

File:
1 edited

Legend:

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

    r284 r297  
    844844  if ($code eq 'OK') {
    845845    if ($webvar{alloctype} =~ /^.i$/) {
    846       print qq(<div class="center"><div class="heading">The IP $msg has been allocated to customer $webvar{custid}</div></div>);
     846      print qq(<div class="center"><div class="heading">The IP $msg has been allocated to customer $webvar{custid}</div>).
     847        ($webvar{alloctype} eq 'di' ?
     848        qq(<div><a href="https://billing.example.com/extserv.pl?action=&custid=$webvar{custid}&ip=$msg">Add this IP to RADIUS user table</a></div>)
     849        : "</div>");
    847850      # Notify tech@example.com
    848851#      mailNotify('tech@example.com',"ADDED: $disp_alloctypes{$webvar{alloctype}} allocation",
Note: See TracChangeset for help on using the changeset viewer.