1 {**************************************************************************}
3 {* Copyright (C) 2003-2010 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
24 {include file="lists/header_listes.tpl" on=members}
27 Liste {$platal->argv[1]}
30 <table class='tinybicol' cellpadding='0' cellspacing='0'>
32 <td class='titre'>Adresse :</td>
33 <td>{mailto address=$details.addr}</td>
36 <td class='titre'>Sujet :</td>
37 <td>{$details.desc|smarty:nodefaults}</td>
40 <td class='titre'>Visibilité :</td>
41 <td>{if $details.priv eq 0}publique{elseif $details.priv eq 1}privée{else}admin{/if}</td>
44 <td class='titre'>Diffusion :</td>
45 <td>{if $details.diff eq 2}modérée{elseif $details.diff}restreinte{else}libre{/if}</td>
48 <td class='titre'>Inscription :</td>
49 <td>{if $details.ins}modérée{else}libre{/if}</td>
52 <td class='titre'>Nb. membres :</td>
53 <td>{$nb_m|default:"0"}</td>
56 <td class="titre">Ton statut :</td>
59 Tu es inscrit sur la liste.<br />
61 <a href='{$platal->pl_self(1)}?del=1&token={xsrf_token}'>{icon name=cross title="me désinscrire"}</a>
62 {elseif $details.sub eq 1}
63 Ta demande d'inscription est en cours de validation.
65 Tu n'es pas inscrit.<br />
66 Demander ton inscription :
67 <a href="{$platal->pl_self(1)}?add=1&token={xsrf_token}">{icon name=add title="demander mon inscription"}</a>
74 <table class='tinybicol' cellpadding='0' cellspacing='0'>
75 <tr><th colspan='2'>Informations sur la liste</th></tr>
77 <td colspan='2'>{$details.info|smarty:nodefaults|nl2br}</td>
83 modérateurs de la liste
87 <table class='tinybicol' cellpadding='0' cellspacing='0'>
88 {foreach from=$owners item=xs key=promo}
89 {foreach from=$xs item=user name=all}
92 {if $smarty.foreach.all.first}
93 {if $promo}{$promo}{else}non-X{/if}
97 {if $promo && $user.x}
98 {if $user.b}{assign var=lostUsers value=true}{/if}
99 {profile user=$user.x promo=false}
101 <a href="{$platal->ns}member/{$user.x}">{if $user.n|trim}{$x.n}{else}{$user.l}{/if}</a>
121 {if $smarty.get.alpha}
122 (<a href='{$platal->pl_self(1)}'>trier par promo</a>)
124 (<a href='{$platal->pl_self(1)}?alpha=1'>trier par nom</a>)
130 <table class='bicol' cellpadding='0' cellspacing='0'>
131 {if $details.own || hasPerms('admin,groupadmin')}
133 <a href="{$platal->ns}lists/csv/{$platal->argv[1]}/{$platal->argv[1]}.csv">
134 {icon name="page_excel" title="Télécharger la liste des membres"}
135 Télécharger la liste des membres au format Excel
142 {assign var=lostUsers value=false}
143 {foreach from=$members item=users key=promo}
144 {foreach from=$users item=user name=all}
146 <td class='titre' style="width: 20%">
147 {if $smarty.foreach.all.first}
148 {if $promo}{$promo}{else}non-X{/if}
152 {if $promo && $user.x}
153 {if $user.b}{assign var=lostUsers value=true}{/if}
154 {profile user=$user.x promo=false}
156 <a href="{$platal->ns}member/{$user.x}">{if $user.n|trim}{$x.n}{else}{$user.l}{/if}</a>
175 {icon name=error} Un camarade signalé par ce symbole n'a plus d'adresse de redirection et ne peut donc
176 plus être contacté via son adresse polytechnique.org. Si tu connais sa nouvelle adresse, tu peux nous la communiquer en
177 cliquant sur le symbole.
184 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}