Commit | Line | Data |
---|---|---|
0337d704 | 1 | {**************************************************************************} |
2 | {* *} | |
5e1513f6 | 3 | {* Copyright (C) 2003-2011 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 | ||
cb1f5408 | 23 | {if t($smarty.post.confirm)} |
0337d704 | 24 | |
25 | <p class="descr"> | |
30032578 | 26 | {if !$self} |
a7de4ef7 | 27 | <a href="{$platal->ns}annuaire">retour à l'annuaire</a> |
30032578 | 28 | {else} |
a7de4ef7 | 29 | <a href="">retour à l'accueil</a> |
30032578 | 30 | {/if} |
0337d704 | 31 | </p> |
32 | ||
33 | {else} | |
aab2ffdd | 34 | |
34ade5a6 | 35 | <h1>{$asso->nom} : gestion des membres</h1> |
0337d704 | 36 | |
37 | <h2> | |
23ba40c4 | 38 | Suppression du membre : {profile user=$user groupperms=false sex=false promo=true} |
0337d704 | 39 | </h2> |
40 | ||
41 | ||
30032578 | 42 | <form method="post" action="{$platal->pl_self()}"> |
e7fdf9dd | 43 | {xsrf_token_field} |
0337d704 | 44 | <div class="center"> |
45 | <p class="descr"> | |
30032578 | 46 | {if $self} |
34ade5a6 | 47 | Êtes-vous sûr de vouloir vous désinscrire du groupe {$asso->nom} et de toutes |
6bb2f79a | 48 | les listes de diffusion associées ? |
30032578 | 49 | {else} |
23ba40c4 | 50 | Êtes-vous sûr de vouloir supprimer {$user->fullName()} du groupe, |
77af6562 | 51 | lui retirer tous les droits associés à son statut de membre |
6bb2f79a | 52 | et le désabonner de toutes les listes de diffusion du groupe ? |
30032578 | 53 | {/if} |
0337d704 | 54 | </p> |
49056fe2 SJ |
55 | {if $self} |
56 | <label><input type="checkbox" name="remember" />Empêcher ma réinscription au groupe par un animateur.</label><br /><br /> | |
57 | {/if} | |
cb1f5408 | 58 | <input type="submit" name="confirm" value="Oui, je {if $self}me{else}le{/if} désinscris complètement du groupe !" /> |
2e94d2b8 | 59 | </div> |
0337d704 | 60 | </form> |
61 | ||
62 | {/if} | |
63 | ||
a7de4ef7 | 64 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |