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 | |
a7de4ef7 |
23 | <p>[<a href='{$platal->ns}lists'>retour à la page des listes</a>]</p> |
0337d704 |
24 | |
d1fcf09c |
25 | <h1>Membres de {$platal->argv[1]}</h1> |
0337d704 |
26 | |
7cdecf88 |
27 | <table class='tinybicol'> |
28 | {if $mem->total()} |
29 | {iterate from=$mem item=m} |
0337d704 |
30 | <tr> |
0337d704 |
31 | <td> |
7cdecf88 |
32 | {if $m.nom} |
33 | {if $m.admin}<strong>{/if} |
34 | {if $m.alias}<a href="https://www.polytechnique.org/profile/{$m.alias}" class="popup2">{/if} |
35 | {$m.prenom} {$m.nom} |
36 | {if $m.alias}</a>{/if} |
37 | {if $m.admin}</strong>{/if} |
38 | {else} |
0337d704 |
39 | {$m.redirect} |
7cdecf88 |
40 | {/if} |
41 | </td> |
42 | <td class="right"> |
43 | {if $m.admin}<strong>{/if} |
44 | {$m.promo} |
45 | {if $m.admin}</strong>{/if} |
46 | </td> |
47 | <td class="center"> |
7b2413f6 |
48 | <a href='{$platal->ns}alias/admin/{$platal->argv[1]}?del_member={$m.redirect|urlencode}'> |
7cdecf88 |
49 | {icon name=delete title='retirer membre'} |
0337d704 |
50 | </a> |
7cdecf88 |
51 | </td> |
52 | </tr> |
53 | {/iterate} |
54 | {else} |
55 | <tr> |
56 | <td colspan="3"> |
0337d704 |
57 | <em>aucun membres ...</em> |
0337d704 |
58 | </td> |
59 | </tr> |
7cdecf88 |
60 | {/if} |
0337d704 |
61 | <tr> |
7cdecf88 |
62 | <th colspan="3">Ajouter</th> |
63 | </tr> |
64 | <tr> |
65 | <td colspan="3" class="center"> |
7b2413f6 |
66 | <form method="post" action="{$platal->ns}alias/admin/{$platal->argv[1]}"> |
0337d704 |
67 | <div> |
68 | <input type='text' name='add_member' /> |
69 | |
70 | <input type='submit' value='ajouter' /> |
71 | </div> |
72 | </form> |
73 | </td> |
74 | </tr> |
75 | </table> |
76 | |
a7de4ef7 |
77 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |