X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fnl.tpl;h=00a4d1a32321d405ab3decdb4370d0c1a764aa8d;hb=bc67c37cd9da2052d61288d927c913e467e90c41;hp=e1e496f104067eaad2b6273c4a147730dd66e6e2;hpb=493b6abebf3d6c35691f66fd1bfdc063efaab576;p=platal.git diff --git a/templates/newsletter/nl.tpl b/templates/newsletter/nl.tpl index e1e496f..00a4d1a 100644 --- a/templates/newsletter/nl.tpl +++ b/templates/newsletter/nl.tpl @@ -20,14 +20,14 @@ {* *} {**************************************************************************} -{if !$html_version} -{if $is_mail} {config_load file="mails.conf" section="newsletter"} +{if $mail_part eq 'head'} {from full=#from#} {subject text=$nl->title(true)} {if isset(#replyto#)}{add_header name='Reply-To' value=#replyto#}{/if} {if isset(#retpath#)}{add_header name='Return-Path' value=#retpath#}{/if} -{else} +{elseif $mail_part eq 'text'} +{if !$is_mail}
 {/if}
 ====================================================================
@@ -67,7 +67,7 @@ ne plus recevoir : [https://www.polytechnique.org/nl/out]
 {if !$is_mail}
 
{/if} -{else} +{elseif $mail_part eq 'html'} {if $is_mail}