Changeset 5717


Ignore:
Timestamp:
12/04/09 16:24:36 (2 years ago)
Author:
CrawfordCurrie
Message:

Item8354: Martin Rowe fixed a problem with STARTPUBLISH in newsletters corrupting the template

Location:
trunk/MailerContrib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MailerContrib/data/System/MailerContrib.txt

    r5688 r5717  
    231231|  Release: | %$RELEASE% | 
    232232|  Change History: | | 
     233|  4 Dec 2009 | Foswikitask:Item8354: Martin Rowe fixed a problem with STARTPUBLISH in newsletters corrupting the template | 
    233234|  17 Oct 2009 | Foswikitask:Item1302: Removed the documentation of the -news mode which was actually never really implemented. Instead added two new -nonews and -nochanges modes which enables running mailnotify in newsletter mode with another schedule than the changes mode. If you upgrade and used the -news option with mailnotify things will work like you are used to as the -news option made no difference (old bug). | 
    234235|  15 Oct 2009 | Foswikitask:Item2260: Make the feature that allows defining the email template based in either skin or web path. And improve the documentation so people can learn how to tailor the emails that the WebNotify feature sends. <br /> Foswikitask:Item1603: use quotes to protect topic names with odd characters in them | 
  • trunk/MailerContrib/lib/Foswiki/Contrib/MailerContrib.pm

    r5289 r5717  
    2727 
    2828our $VERSION = '$Rev$'; 
    29 our $RELEASE = '17 Oct 2009'; 
     29our $RELEASE = '4 Dec 2009'; 
    3030our $SHORTDESCRIPTION = 'Supports e-mail notification of changes'; 
    3131 
     
    490490    $tmpl = Foswiki::Func::expandCommonVariables( $tmpl, $topic, $web ); 
    491491    $tmpl = Foswiki::Func::renderText( $tmpl, "", $meta ); 
    492     $tmpl = "$header$tmpl"; 
    493492 
    494493    # REFACTOR OPPORTUNITY: stop factor me into getTWikiRendering() 
     
    513512        } 
    514513    } 
    515     $tmpl = $newTmpl; 
     514    $tmpl = $header . $newTmpl; 
    516515    $tmpl =~ s/.*?<\/nopublish>//gs; 
    517516    $tmpl =~ s/%MAXREV%/$maxrev/g; 
Note: See TracChangeset for help on using the changeset viewer.