X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fnl.tpl;h=00a4d1a32321d405ab3decdb4370d0c1a764aa8d;hb=fdf42d7a151b579658d6c90cd1fd628610b7c70d;hp=79caa0d61aba4c05c7d291fc0eacd5accef4f705;hpb=11f44323b9f6d4ee4d21eb8cfb3084e5d3964253;p=platal.git diff --git a/templates/newsletter/nl.tpl b/templates/newsletter/nl.tpl index 79caa0d..00a4d1a 100644 --- a/templates/newsletter/nl.tpl +++ b/templates/newsletter/nl.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2007 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -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 #replyto#}{add_header name='Reply-To' value=#replyto#}{/if} -{if #retpath#}{add_header name='Return-Path' value=#retpath#}{/if} -{else} +{if isset(#replyto#)}{add_header name='Reply-To' value=#replyto#}{/if} +{if isset(#retpath#)}{add_header name='Return-Path' value=#retpath#}{/if} +{elseif $mail_part eq 'text'} +{if !$is_mail}
{/if} ==================================================================== @@ -57,33 +57,34 @@ {/foreach} -------------------------------------------------------------------- -Cette lettre est envoyée à tous les Polytechniciens sur Internet par -l'intermédiaire de Polytechnique.org. +Cette lettre est envoyée à tous les Polytechniciens sur Internet par +l'intermédiaire de Polytechnique.org. archives : [https://www.polytechnique.org/nl] -écrire : [https://www.polytechnique.org/nl/submit] +écrire : [https://www.polytechnique.org/nl/submit] ne plus recevoir : [https://www.polytechnique.org/nl/out] -{if $is_mail} +{if !$is_mail}{/if} -{else} +{elseif $mail_part eq 'html'} {if $is_mail} - + -