X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fnl.mail.tpl;h=7ab2b4b0206d86d302f4d789284b11f8b602335c;hb=384712208a260ae1b5b7e90ac95f0df84ffbe8af;hp=a9771cf80f0f9e89e9d56ac41d56882307dd76b7;hpb=d0327f6de73e81c4bcc656471ca4161e4f1e1e1b;p=platal.git diff --git a/templates/newsletter/nl.mail.tpl b/templates/newsletter/nl.mail.tpl index a9771cf..7ab2b4b 100644 --- a/templates/newsletter/nl.mail.tpl +++ b/templates/newsletter/nl.mail.tpl @@ -34,7 +34,7 @@ {$nl->title()} ==================================================================== -{$nl->head($prenom, $nom, $sexe, 'text')} +{$nl->head($user, 'text')} {foreach from=$nl->_arts key=cid item=arts name=cats} @@ -51,7 +51,7 @@ -------------------------------------------------------------------- {foreach from=$arts item=art} -{$art->toText()} +{$art->toText($hash, $user->login())} {/foreach} {/foreach} @@ -60,10 +60,15 @@ Cette lettre est envoyée à tous les Polytechniciens sur Internet par l'intermédiaire de Polytechnique.org. +{if $is_mail} archives : écrire : ne plus recevoir : - +{else} +archives : <https://www.polytechnique.org/nl> +écrire : <https://www.polytechnique.org/nl/submit> +ne plus recevoir : <https://www.polytechnique.org/nl/out> +{/if} {if !$is_mail} {/if} @@ -88,7 +93,7 @@ ne plus recevoir : {/if}
{$nl->title()}
-
{$nl->head($prenom, $nom, $sexe, 'html')|smarty:nodefaults}
+
{$nl->head($user, 'html')|smarty:nodefaults}
{foreach from=$nl->_arts key=cid item=arts name=cats}
@@ -104,7 +109,7 @@ ne plus recevoir : {$nl->_cats[$cid]} {foreach from=$arts item=art} - {$art->toHtml()|smarty:nodefaults} + {$art->toHtml($hash, $user->login())|smarty:nodefaults} {/foreach} {/foreach}