Release of plat/al 1.1.12
[platal.git] / templates / newsletter / nl.FX.mail.tpl
index 8332667..2ee7a56 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2014 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 
 {$issue->head($user, 'text')}
 
+{foreach from=$issue->arts key=cid item=arts}
+--------------------------------------------------------------------
+*{$issue->category($cid)}*
+--------------------------------------------------------------------
+
+{foreach from=$arts item=art}
+{$art->toText($hash, $user->login())}
+
+{/foreach}
+{/foreach}
+
 {$issue->signature('text')}
 
 --------------------------------------------------------------------
-{if $is_mail}
-Pour faire un don : <http://fondationx.fr/fond/paiement.php>
-{else}
-Pour faire un don : &lt;http://fondationx.fr/fond/paiement.php&gt;
-{/if}
 Cette lettre est envoyée par la FX grâce aux outils de Polytechnique.org.
 
 {if $is_mail}
@@ -79,10 +85,17 @@ ne plus recevoir : &lt;https://www.polytechnique.org/fxletter/out/{if $hash}{$ha
     <div class='fx_mail'>
       <div class="title">{$issue->title()}</div>
       <div class="intro">{$issue->head($user, 'html')|smarty:nodefaults}</div>
+      {foreach from=$issue->arts key=cid item=arts name=cats}
+      <h1 class="category"><a id="cat{$cid}"></a>
+        {$issue->category($cid)}
+      </h1>
+      {foreach from=$arts item=art}
+        {$art->toHtml($hash, $user->login())|smarty:nodefaults}
+      {/foreach}
+      {/foreach}
       <div class="signature">{$issue->signature('html')|smarty:nodefaults}</div>
-      <div class="give"><a href="http://fondationx.fr/fond/paiement.php">Faire un don</a></div>
       <div class="foot1">
-        Cette lettre est envoyée par la FX grâce aux outils de Polytechnique.org.
+        Cette lettre est envoyée par la Fondation grâce aux outils de Polytechnique.org.
       </div>
       <div class="foot2">
         [<a href="https://www.polytechnique.org/fxletter">archives</a>&nbsp;|
@@ -96,4 +109,4 @@ ne plus recevoir : &lt;https://www.polytechnique.org/fxletter/out/{if $hash}{$ha
 {/if}
 {/if}
 
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
+{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}