X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fnl.mail.tpl;h=95220ba40fd0066682a1f8e50b0b54de5721cb67;hb=353f2d2b11c4e3c6c0bc3553813368b6f42fa9c6;hp=f1bf66c58774d73e876a1bcba50d67d8041f2dbd;hpb=6b440e235abe7a5c0bacad6acf52932d649d5aa3;p=platal.git diff --git a/templates/newsletter/nl.mail.tpl b/templates/newsletter/nl.mail.tpl index f1bf66c..95220ba 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}