Changeset 426 for trunk/cgi-bin/main.cgi


Ignore:
Timestamp:
07/08/10 13:16:24 (14 years ago)
Author:
Kris Deugau
Message:

/trunk

Tweak mailNotify call on SWIP-is-on
Note "special" notification option for SWIP-is-on
Fix add-special-notice so that the special flag content gets inserted
Complain if any of reciplist, section, and target/alloctype are missing while

adding a new notification

Fix mailNotify to actually iterate over all of the combinations it's supposed

to instead of just looking up the passed action code

Closes #21

File:
1 edited

Legend:

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

    r420 r426  
    12301230##fixme:  need to wedge something in to allow "update:field" notifications
    12311231## hmm.  how to tell what changed?  O_o
    1232 mailNotify($ip_dbh, 'ua', "SWIPed: $disp_alloctypes{$webvar{alloctype}} $webvar{block}",
     1232mailNotify($ip_dbh, 's:swi', "SWIPed: $disp_alloctypes{$webvar{alloctype}} $webvar{block}",
    12331233        "$webvar{block} had SWIP status changed to \"Yes\" by $authuser") if $webvar{swip} eq 'on';
    12341234  open (HTML, "../updated.html")
Note: See TracChangeset for help on using the changeset viewer.