| 1 | {**************************************************************************} |
| 2 | {* *} |
| 3 | {* Copyright (C) 2003-2007 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 | |
| 24 | {if $deleted} |
| 25 | |
| 26 | <p>[<a href='{$platal->ns}lists'>Voir toutes les listes</a>]</p> |
| 27 | <p class="erreur">La liste a été détruite !</p> |
| 28 | |
| 29 | {else} |
| 30 | |
| 31 | {if !$details.own} |
| 32 | <p class='erreur'> |
| 33 | Tu n'es pas administrateur de la liste, mais du site. |
| 34 | </p> |
| 35 | {/if} |
| 36 | |
| 37 | {include file="lists/header_listes.tpl" on=delete} |
| 38 | |
| 39 | <h1> |
| 40 | Détruire la liste {$details.addr} ? |
| 41 | </h1> |
| 42 | |
| 43 | <form method='post' action='{$platal->pl_self(1)}'> |
| 44 | <table class='tinybicol' cellpadding='2' cellspacing='0'> |
| 45 | <tr class='impair'> |
| 46 | <td> |
| 47 | Veux tu réellement détruire la liste {$details.addr} ?<br /> |
| 48 | Pour valider ton choix, écris en majuscules (sans espace) « OUI » : |
| 49 | <input type='text' size='3' maxlength='3' name="valid" /> |
| 50 | </td> |
| 51 | </tr> |
| 52 | <tr class='pair'> |
| 53 | <td> |
| 54 | Si tu veux préserver les archives de la liste, décoche la case ci-contre. |
| 55 | <input type="checkbox" checked="checked" name="del_archive" /> |
| 56 | </td> |
| 57 | </tr> |
| 58 | <tr class='impair'> |
| 59 | <td class="center"> |
| 60 | <input type="submit" value="Détruire !" /> |
| 61 | </td> |
| 62 | </tr> |
| 63 | </table> |
| 64 | </form> |
| 65 | |
| 66 | {/if} |
| 67 | |
| 68 | |
| 69 | {* vim:set et sw=2 sts=2 sws=2: *} |