Ignore:
Timestamp:
10/15/09 19:28:59 (3 years ago)
Author:
KennethLavrsen
Message:

Item2260: MailerContrib cannot find email templates based on skin or web
The checkin does the following

  • It makes a tiny little fix in MailerContrib.pm where I pushTopicContext before loading mail template and pop it again afterwards
  • Updates the the documentation to show by example how to tailor the mail message
  • Merge over the code from trunk. This introduces a bug fix from Item1603 which for some reason was only applied to trunk
  • And with this merge also merge over a lot of perl tinying.

It was too difficult to separate the two once I was this far. Look at next checkin in trunk to see only the actual code changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x00/MailerContrib/lib/Foswiki/Contrib/MailerContrib/build.pl

    r1065 r5269  
    1515 
    1616# Standard preamble 
     17use strict; 
     18 
    1719BEGIN { 
    1820  foreach my $pc (split(/:/, $ENV{FOSWIKI_LIBS})) { 
     
    3032  sub new { 
    3133    my $class = shift; 
    32     return bless( $class->SUPER::new( "MailerContrib", "Mailer" ), $class ); 
     34    return bless( $class->SUPER::new( "MailerContrib" ), $class ); 
    3335  } 
    3436 
     
    4446 
    4547# Create the build object 
    46 $build = new MailerBuild(); 
     48my $build = new MailerBuild(); 
    4749 
    4850# Mailer the target on the command line, or the default target 
Note: See TracChangeset for help on using the changeset viewer.