0337d704 |
1 | {**************************************************************************} |
2 | {* *} |
5ddeb07c |
3 | {* Copyright (C) 2003-2007 Polytechnique.org *} |
0337d704 |
4 | {* http://opensource.polytechnique.org/ *} |
5 | {* *} |
6 | {* This program is free software; you can redistribute it and/or modify *} |
7 | {* it under the terms of the GNU General Public License as published by *} |
8 | {* the Free Software Foundation; either version 2 of the License, or *} |
9 | {* (at your option) any later version. *} |
10 | {* *} |
11 | {* This program is distributed in the hope that it will be useful, *} |
12 | {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} |
13 | {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} |
14 | {* GNU General Public License for more details. *} |
15 | {* *} |
16 | {* You should have received a copy of the GNU General Public License *} |
17 | {* along with this program; if not, write to the Free Software *} |
18 | {* Foundation, Inc., *} |
19 | {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} |
20 | {* *} |
21 | {**************************************************************************} |
22 | |
23 | |
24 | <h1> |
25 | Lettre de Polytechnique.org |
26 | </h1> |
27 | |
1970c12b |
28 | |
29 | <p class="center"> |
30 | <a href="nl/submit">{icon name=page_edit value="Proposer un article"} Proposer un article pour la lettre mensuelle</a> |
0337d704 |
31 | </p> |
32 | |
33 | <h2>Ton statut</h2> |
34 | |
35 | {if $nls} |
36 | <p> |
1089066c |
37 | Tu es actuellement inscrit à la lettre mensuelle de Polytechnique.org (pour choisir le format HTML ou texte, rends toi sur la page <a href='prefs'>des préférences</a>) |
0337d704 |
38 | </p> |
39 | <div class='center'> |
1970c12b |
40 | [<a href='nl/out'>{icon name=delete} me désinscrire de la lettre mensuelle</a>] |
0337d704 |
41 | </div> |
42 | {else} |
43 | <p> |
44 | Tu n'es actuellement pas inscrit à la lettre mensuelle de Polytechnique.org. |
45 | </p> |
46 | <div class='center'> |
1970c12b |
47 | [<a href='nl/in'>{icon name=add} m'inscrire à la lettre mensuelle</a>] |
0337d704 |
48 | </div> |
49 | {/if} |
50 | |
51 | <h2>Les archives</h2> |
52 | |
53 | <table class="bicol" cellpadding="3" cellspacing="0" summary="liste des NL"> |
54 | <tr> |
55 | <th>date</th> |
56 | <th>titre</th> |
57 | </tr> |
58 | {foreach item=nl from=$nl_list} |
59 | <tr class="{cycle values="impair,pair"}"> |
60 | <td>{$nl.date|date_format}</td> |
61 | <td> |
7b2413f6 |
62 | <a href="nl/show/{$nl.id}">{$nl.titre}</a> |
0337d704 |
63 | </td> |
64 | </tr> |
65 | {/foreach} |
66 | </table> |
67 | |
68 | |
69 | {* vim:set et sw=2 sts=2 sws=2: *} |