{**************************************************************************} {* *} {* Copyright (C) 2003-2007 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} {* it under the terms of the GNU General Public License as published by *} {* the Free Software Foundation; either version 2 of the License, or *} {* (at your option) any later version. *} {* *} {* This program is distributed in the hope that it will be useful, *} {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} {* GNU General Public License for more details. *} {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} {* Foundation, Inc., *} {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} {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} {elseif $mail_part eq 'text'} {if !$is_mail}
{/if} ==================================================================== {$nl->title()} ==================================================================== {$nl->head($prenom, $nom, $sexe, 'text')} {foreach from=$nl->_arts key=cid item=arts name=cats} {$smarty.foreach.cats.iteration} *{$nl->_cats[$cid]}* {foreach from=$arts item=art} - {$art->title()} {/foreach} {/foreach} {foreach from=$nl->_arts key=cid item=arts} -------------------------------------------------------------------- *{$nl->_cats[$cid]}* -------------------------------------------------------------------- {foreach from=$arts item=art} {$art->toText()} {/foreach} {/foreach} -------------------------------------------------------------------- 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] ne plus recevoir : [https://www.polytechnique.org/nl/out] {if !$is_mail}{/if} {elseif $mail_part eq 'html'} {if $is_mail}