0337d704 |
1 | {**************************************************************************} |
2 | {* *} |
50a40a33 |
3 | {* Copyright (C) 2003-2006 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 | <table class='bicol' cellpadding='0' cellspacing='0'> |
24 | <tr> |
25 | <th>Liste</th> |
26 | <th>Description</th> |
27 | <th>Diff.</th> |
28 | <th>Inscr.</th> |
29 | <th>Nb</th> |
30 | <th></th> |
31 | </tr> |
32 | {foreach from=$listes item=liste} |
ae6c293b |
33 | {if $liste.priv eq $priv} |
0337d704 |
34 | <tr class='{cycle values="impair,pair"}'> |
35 | <td> |
7b2413f6 |
36 | <a href='{$platal->ns}lists/members/{$liste.list}'>{$liste.list}{if $liste.own} *{/if}</a> |
0337d704 |
37 | </td> |
38 | <td>{$liste.desc}</td> |
39 | <td class='center'> |
40 | {if $liste.diff eq 2}modérée{elseif $liste.diff}restreinte{else}libre{/if} |
41 | </td> |
42 | <td class='center'> |
43 | {if $liste.ins}modérée{else}libre{/if} |
44 | </td> |
45 | <td class='right'>{$liste.nbsub}</td> |
46 | <td class='right'> |
47 | {if $liste.sub eq 2} |
7b2413f6 |
48 | <a href='{$platal->ns}lists?del={$liste.list}'> |
ff874621 |
49 | {icon name=cross title="me désinscrire"} |
0337d704 |
50 | </a> |
51 | {elseif $liste.sub eq 1} |
7b2413f6 |
52 | <img src="images/flag.png" alt="[ en cours ]" title='inscription en attente de modération' /> |
0337d704 |
53 | {else} |
7b2413f6 |
54 | <a href='{$platal->ns}lists?add={$liste.list}'> |
7c0881fd |
55 | {icon name=add title="m'inscrire"}</a> |
0337d704 |
56 | {/if} |
57 | </td> |
58 | </tr> |
59 | {/if} |
60 | {/foreach} |
61 | </table> |
62 | |
63 | {* vim:set et sw=2 sts=2 sws=2: *} |