257a64339b1cd41699affb6ad2ae6c5813ace3e0
[platal.git] / templates / xnetgrp / membres-del.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2013 Polytechnique.org                             *}
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 {if t($smarty.post.confirm)}
24
25 <p class="descr">
26 {if !$self}
27 <a href="{$platal->ns}annuaire">retour à l'annuaire</a>
28 {else}
29 <a href="">retour à l'accueil</a>
30 {/if}
31 </p>
32
33 {else}
34
35 <h1>{$asso->nom}&nbsp;: gestion des membres</h1>
36
37 <h2>
38   Suppression du membre&nbsp;: {profile user=$user groupperms=false sex=false promo=true}
39 </h2>
40
41
42 <form method="post" action="{$platal->pl_self()}">
43   {xsrf_token_field}
44   <div class="center">
45     <p class="descr">
46     {if $self}
47     Êtes-vous sûr de vouloir vous désinscrire du groupe {$asso->nom} et de toutes
48     les listes de diffusion associées&nbsp;?
49     {else}
50     Êtes-vous sûr de vouloir supprimer {$user->fullName()} du groupe,
51     lui retirer tous les droits associés à son statut de membre
52     et le désabonner de toutes les listes de diffusion du groupe&nbsp;?
53     {/if}
54     </p>
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}
58     <input type="submit" name="confirm" value="Oui, je {if $self}me{else}le{/if} désinscris complètement du groupe !" />
59   </div>
60 </form>
61
62 {/if}
63
64 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}