Changeset 247 for trunk/cgi-bin/main.cgi
- Timestamp:
- 05/18/05 15:51:11 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r240 r247 830 830 print qq(<div class="center"><div class="heading">The IP $msg has been allocated to customer $webvar{custid}</div></div>); 831 831 # Notify tech@example.com 832 mailNotify('tech@example.com',"ADDED: $disp_alloctypes{$webvar{alloctype}} allocation",833 "$disp_alloctypes{$webvar{alloctype}} $msg allocated to customer $webvar{custid}\n".834 "Description: $webvar{desc}\n\nAllocated by: $authuser\n");832 # mailNotify('tech@example.com',"ADDED: $disp_alloctypes{$webvar{alloctype}} allocation", 833 # "$disp_alloctypes{$webvar{alloctype}} $msg allocated to customer $webvar{custid}\n". 834 # "Description: $webvar{desc}\n\nAllocated by: $authuser\n"); 835 835 } else { 836 836 print qq(<div class="center"><div class="heading">The block $webvar{fullcidr} was ). … … 1178 1178 syslog "notice", "$authuser deallocated '$webvar{alloctype}'-type netblock $webvar{block}"; 1179 1179 # Notify tech@ when a block/IP is deallocated 1180 mailNotify('tech@example.com',"REMOVED: $disp_alloctypes{$webvar{alloctype}} $webvar{block}",1181 "$disp_alloctypes{$webvar{alloctype}} $webvar{block} deallocated by $authuser\n");1180 # mailNotify('tech@example.com',"REMOVED: $disp_alloctypes{$webvar{alloctype}} $webvar{block}", 1181 # "$disp_alloctypes{$webvar{alloctype}} $webvar{block} deallocated by $authuser\n"); 1182 1182 } else { 1183 1183 if ($webvar{alloctype} =~ /^.i$/) {
Note:
See TracChangeset
for help on using the changeset viewer.