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 | |
24 | {if !$details.own} |
25 | <p class='erreur'> |
26 | Tu n'es pas administrateur de la liste, mais du site. |
27 | </p> |
28 | {/if} |
29 | |
30 | {include file="listes/header_listes.tpl" on=admin} |
31 | |
32 | <p> |
33 | Pour inscrire un utilisateur, il faut remplir les champs prévus à cet effet en saisissant un de |
34 | ses identifiants, de la forme "prenom.nom", ou "prenom.nom.promo" en cas d'homonymie. Pour inscrire plusieurs utilisateurs, les séparer par des espaces. |
ff874621 |
35 | L'icône {icon name=cross title='retirer membre'} permet de désinscrire de la liste quelqu'un |
0337d704 |
36 | qui y était abonné. |
37 | </p> |
38 | |
39 | <h1> |
40 | modérateurs de la liste |
41 | </h1> |
42 | |
43 | <form method='post' action='{$smarty.server.REQUEST_URI}'> |
44 | <table class='tinybicol' cellpadding='0' cellspacing='0'> |
45 | {foreach from=$owners item=xs key=promo} |
46 | <tr> |
47 | <td class='titre'>{if $promo}{$promo}{else}non-X{/if}</td> |
48 | <td> |
49 | {foreach from=$xs item=x} |
50 | {if $promo} |
7b2413f6 |
51 | <a href="profile/{$x.l}" class="popup2">{$x.n}</a> |
0337d704 |
52 | {else} |
53 | {$x.l} |
54 | {/if} |
ff874621 |
55 | <a href='{$platal->pl_self(1)}?del_owner={$x.l}'>{icon name=cross title='retirer modérateur'}</a> |
0337d704 |
56 | <br /> |
57 | {/foreach} |
58 | </td> |
59 | </tr> |
60 | {/foreach} |
61 | <tr> |
62 | <td class='titre'>Ajouter ... </td> |
63 | <td> |
64 | <input type='text' size='30' name='add_owner' /> |
65 | |
66 | <input type='submit' value='ajouter' /> |
67 | </td> |
68 | </tr> |
69 | </table> |
70 | </form> |
71 | |
72 | |
73 | <h1> |
74 | {$np_m|default:"0"} membre(s) dans la liste |
75 | </h1> |
76 | |
77 | <form method='post' action='{$smarty.server.REQUEST_URI}'> |
78 | <table class='bicol' cellpadding='0' cellspacing='0'> |
79 | {foreach from=$members item=xs key=promo} |
80 | <tr> |
81 | <td class='titre'>{if $promo}{$promo}{else}non-X{/if}</td> |
82 | <td> |
83 | {foreach from=$xs item=x} |
84 | {if $promo} |
7b2413f6 |
85 | <a href="profile/{$x.l}" class="popup2">{$x.n}</a> |
0337d704 |
86 | {else} |
87 | {$x.l} |
88 | {/if} |
ff874621 |
89 | <a href='{$platal->pl_self(1)}?del_member={$x.l}'>{icon name=cross title='retirer membre'}</a> |
0337d704 |
90 | <br /> |
91 | {/foreach} |
92 | </td> |
93 | </tr> |
94 | {/foreach} |
95 | <tr> |
96 | <td class='titre'>Ajouter ...</td> |
97 | <td> |
98 | <input type='text' size='40' name='add_member' /> |
99 | |
100 | <input type='submit' value='ajouter' /> |
101 | </td> |
102 | </tr> |
103 | </table> |
104 | </form> |
105 | |
106 | |
107 | {* vim:set et sw=2 sts=2 sws=2: *} |