Changeset 839 for trunk/cgi-bin
- Timestamp:
- 04/12/16 14:49:45 (9 years ago)
- Location:
- trunk/cgi-bin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r833 r839 137 137 our $numeric_vlan = 1; 138 138 139 # Billing system return link 140 our $billinglink = 'https://billing.example.com/radius.pl'; 139 141 140 142 ## -
trunk/cgi-bin/MyIPDB.pm
r836 r839 88 88 #$IPDB::numeric_vlan = 1; 89 89 90 ## Billing return link 91 # Passalong link for allocations initiated by a link in from a billing system 92 #$IPDB::billinglink = 'https://billing.example.com/radius.pl'; 93 90 94 ## connectDB_My() 91 95 # Wrapper for IPDB::connectDB -
trunk/cgi-bin/main.cgi
r835 r839 889 889 $page->param(custid => $webvar{custid}); 890 890 $page->param(billinguser => $webvar{billinguser}); 891 $page->param(billinglink => $IPDB::billinglink); 891 892 mailNotify($ip_dbh, "a$webvar{alloctype}", "ADDED: $disp_alloctypes{$webvar{alloctype}} allocation", 892 893 "$disp_alloctypes{$webvar{alloctype}} $msg allocated to customer $webvar{custid}\n". … … 905 906 if ($webvar{alloctype} eq 'pr' && $webvar{billinguser}) { 906 907 $page->param(billinguser => $webvar{billinguser}); 908 $page->param(billinglink => $IPDB::billinglink); 907 909 $page->param(custid => $webvar{custid}); 908 910 $page->param(netaddr => $netblock->addr);
Note:
See TracChangeset
for help on using the changeset viewer.