Ignore:
Timestamp:
06/14/16 12:10:29 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Add DNS field to email notice on allocation

File:
1 edited

Legend:

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

    r880 r881  
    213213      mailNotify($ip_dbh, "a$webvar{alloctype}", "ADDED: $disp_alloctypes{$webvar{alloctype}} allocation",
    214214        "$disp_alloctypes{$webvar{alloctype}} $webvar{cidr} allocated to customer $webvar{custid}\n".
    215         "Description: $webvar{desc}\n\nAllocated by: $authuser\n");
     215        "Description: $webvar{desc}\n".
     216        ($webvar{rdns} ? "DNS name: $webvar{rdns}\n" : '').
     217        "\nAllocated by: $authuser\n");
    216218    }
    217219  } else {
Note: See TracChangeset for help on using the changeset viewer.