X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fnl.mail.tpl;h=6c23ac56b27eb50df0ca7e02ef3808bc6170e921;hb=5b516e6be17378ace0e375b9da14a46051bf0f4e;hp=cd6ecd324e2e905255dc410473a6556c9152035d;hpb=e0e77c5a55e92d873accf3fe735042eb8b088e34;p=platal.git diff --git a/templates/newsletter/nl.mail.tpl b/templates/newsletter/nl.mail.tpl index cd6ecd3..6c23ac5 100644 --- a/templates/newsletter/nl.mail.tpl +++ b/templates/newsletter/nl.mail.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -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}