| 1 | {**************************************************************************} |
| 2 | {* *} |
| 3 | {* Copyright (C) 2003-2011 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} : gestion des membres</h1> |
| 36 | |
| 37 | <h2> |
| 38 | Suppression du membre : {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 ? |
| 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 ? |
| 53 | {/if} |
| 54 | </p> |
| 55 | <input type="submit" name="confirm" value="Oui, je {if $self}me{else}le{/if} désinscris complètement du groupe !" /> |
| 56 | </div> |
| 57 | </form> |
| 58 | |
| 59 | {/if} |
| 60 | |
| 61 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |