Changeset 198 for trunk/dns.cgi


Ignore:
Timestamp:
12/13/11 14:52:13 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Finish Vega-equivalent mail notifications (domain creation)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r195 r198  
    347347
    348348  if ($code eq 'OK') {
    349 #    logaction($msg, $session->param("username"), $webvar{group}, "Added domain $webvar{domain}");
     349    mailNotify($dbh, "New ".($webvar{makeactive} eq 'on' ? 'Active' : 'Inactive')." Domain Created",
     350        ($webvar{makeactive} eq 'on' ? 'Active' : 'Inactive').qq( domain "$webvar{domain}" added by ).
     351        $session->param("username"));
    350352    changepage(page => "reclist", id => $msg);
    351353  } else {
Note: See TracChangeset for help on using the changeset viewer.