Ignore:
Timestamp:
01/22/12 15:23:10 (4 months ago)
Author:
GeorgeClark
Message:

Item9551: More updates to ImmediateNotify

Pulled the Twitter and IRC code from TweetOnSavePlugin and IrcPlugin.
Not functional here yet, need converting. Changed the templates to real
templates, so they can be more easily overridden using Topic templates.

Added a beforeSaveHandler and a NewTopic context - so the messages can
more easily show created vs updated topics.

Eliminated the MIME multipart headers from the email template, since a
single part message using multipart headers causes issues in Outlook.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ImmediateNotifyPlugin/templates/xmpp.immediatenotify.tmpl

    r12051 r13777  
    1 %USER% has created or changed the topic %SCRIPTURL{"view"}%/%WEB%/%TOPICNAME% - Revision %REV% 
     1%TMPL:DEF{xmppBody}%%WIKINAME% has %IF{"context NewTopic" then="created" else="changed"}% the topic %SCRIPTURL{"view"}%/%WEB%/%TOPIC% Rev:%REVINFO{format="r1.$rev"}% %INCLUDE{"%WEB%.%TOPIC%" section="NOTIFYTEXT" warn="off"}%%TMPL:END% 
     2%TMPL:P{xmppBody}% 
Note: See TracChangeset for help on using the changeset viewer.