X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fnl.tpl;h=00a4d1a32321d405ab3decdb4370d0c1a764aa8d;hb=bc67c37cd9da2052d61288d927c913e467e90c41;hp=cd801562e886a2eb75d6b17773db21ba25f26e95;hpb=a7de4ef724d1a3b0bf978a50ce7cc9d23412c7a0;p=platal.git diff --git a/templates/newsletter/nl.tpl b/templates/newsletter/nl.tpl index cd80156..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,9 +67,9 @@ ne plus recevoir : [https://www.polytechnique.org/nl/out]
 {if !$is_mail}
 
{/if} -{else} +{elseif $mail_part eq 'html'} {if $is_mail} - +