X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fnl.mail.tpl;h=708877b19786af7030b99334dced3142471178b7;hb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;hp=baa9133f2d41844a520ccce2dff0b929474003e8;hpb=a959b199b8f4790bf311c4e9c4b96b4ffb494eeb;p=platal.git diff --git a/templates/newsletter/nl.mail.tpl b/templates/newsletter/nl.mail.tpl index baa9133..708877b 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($hash, $alias)} +{$art->toText($hash, $user->login())} {/foreach} {/foreach} @@ -93,7 +93,7 @@ ne plus recevoir : <https://www.polytechnique.org/nl/out> {/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}
@@ -109,7 +109,7 @@ ne plus recevoir : <https://www.polytechnique.org/nl/out> {$nl->_cats[$cid]} {foreach from=$arts item=art} - {$art->toHtml($hash, $alias)|smarty:nodefaults} + {$art->toHtml($hash, $user->login())|smarty:nodefaults} {/foreach} {/foreach}