0337d704 |
1 | {**************************************************************************} |
2 | {* *} |
8d84c630 |
3 | {* Copyright (C) 2003-2009 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 | |
3eb25eb3 |
24 | {include file="lists/header_listes.tpl" on=trombi} |
0337d704 |
25 | |
26 | <h1> |
bc4ad6aa |
27 | Liste {$platal->argv[1]} |
0337d704 |
28 | </h1> |
29 | |
30 | <table class='tinybicol' cellpadding='0' cellspacing='0'> |
31 | <tr> |
38421eaa |
32 | <td class='titre'>Adresse :</td> |
0337d704 |
33 | <td>{mailto address=$details.addr}</td> |
34 | </tr> |
35 | <tr> |
38421eaa |
36 | <td class='titre'>Sujet :</td> |
0337d704 |
37 | <td>{$details.desc}</td> |
38 | </tr> |
39 | <tr> |
38421eaa |
40 | <td class='titre'>Visibilité :</td> |
a7de4ef7 |
41 | <td>{if $details.priv eq 0}publique{elseif $details.priv eq 1}privée{else}admin{/if}</td> |
0337d704 |
42 | </tr> |
43 | <tr> |
38421eaa |
44 | <td class='titre'>Diffusion :</td> |
a7de4ef7 |
45 | <td>{if $details.diff eq 2}modérée{elseif $details.diff}restreinte{else}libre{/if}</td> |
0337d704 |
46 | </tr> |
47 | <tr> |
38421eaa |
48 | <td class='titre'>Inscription :</td> |
a7de4ef7 |
49 | <td>{if $details.ins}modérée{else}libre{/if}</td> |
0337d704 |
50 | </tr> |
51 | <tr class="pair"> |
38421eaa |
52 | <td class="titre">Ton statut :</td> |
0337d704 |
53 | <td> |
54 | {if $details.sub>1} |
55 | Tu es inscrit sur la liste.<br /> |
e8439508 |
56 | Te désinscrire : |
2669eb7d |
57 | <a href='{$platal->pl_self(1)}?del=1&token={xsrf_token}'>{icon name=cross title="me désinscrire"}</a> |
0337d704 |
58 | {elseif $details.sub eq 1} |
59 | Ta demande d'inscription est en cours de validation. |
60 | {else} |
61 | Tu n'es pas inscrit.<br /> |
e8439508 |
62 | Demander ton inscription : |
2669eb7d |
63 | <a href="{$platal->pl_self(1)}?add=1&token={xsrf_token}">{icon name=add title="demander mon inscription"}</a> |
0337d704 |
64 | {/if} |
65 | </td> |
66 | </tr> |
67 | </table> |
68 | |
a9cd2bab |
69 | {include core=plset.tpl} |
fdf42d7a |
70 | |
0337d704 |
71 | <h1> |
a7de4ef7 |
72 | modérateurs de la liste |
0337d704 |
73 | </h1> |
74 | |
75 | <table cellpadding="8" cellspacing="2" style="width:100%;"> |
76 | {foreach from=$owners item=xs key=promo} |
77 | {foreach from=$xs item=x} |
78 | {if $promo} |
1cc0afe7 |
79 | {cycle values="1,2,3,4" assign="loop"} |
0337d704 |
80 | {if $loop eq "1"}<tr>{/if} |
81 | <td class='center'> |
1cc0afe7 |
82 | <img src="photo/{$x.l}" width="80" alt=" [ PHOTO ] " /> |
0337d704 |
83 | <br /> |
7b2413f6 |
84 | <a href="profile/{$x.l}" class="popup2"> |
0337d704 |
85 | {$x.n} ({$promo}) |
86 | </a> |
87 | </td> |
1cc0afe7 |
88 | {if $loop eq "4"}</tr>{/if} |
0337d704 |
89 | {/if} |
90 | {/foreach} |
91 | {/foreach} |
92 | {if $loop eq "1"} |
93 | {cycle values="1,2,3" assign="loop"} |
94 | {cycle values="1,2,3" assign="loop"} |
1cc0afe7 |
95 | {cycle values="1,2,3" assign="loop"} |
96 | <td></td><td></td><td></td></tr> |
0337d704 |
97 | {elseif $loop eq "2"} |
98 | {cycle values="1,2,3" assign="loop"} |
1cc0afe7 |
99 | {cycle values="1,2,3" assign="loop"} |
100 | <td></td><td></td></tr> |
101 | {elseif $loop eq "3"} |
102 | {cycle values="1,2,3" assign="loop"} |
0337d704 |
103 | <td></td></tr> |
104 | {/if} |
105 | </table> |
106 | |
a7de4ef7 |
107 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |