Happy New Year!
[platal.git] / templates / lists / delete.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2014 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
28 {else}
29
30 {include file="lists/header_listes.tpl" on=delete}
31
32 <h1>
33   Détruire la liste {$details.addr}&nbsp;?
34 </h1>
35
36 <form method='post' action='{$platal->pl_self(1)}'>
37   {xsrf_token_field}
38   <table class='tinybicol' cellpadding='2' cellspacing='0'>
39     <tr class='impair'>
40       <td>
41         Veux tu réellement détruire la liste {$details.addr}&nbsp;?<br />
42         Pour valider ton choix, écris en majuscules (sans espace) «&nbsp;OUI&nbsp;»&nbsp;:
43         <input type='text' size='3' maxlength='3' name="valid" />
44       </td>
45     </tr>
46     <tr class='pair'>
47       <td>
48         <label>Si tu veux préserver les archives de la liste, décoche la case ci-contre.
49         <input type="checkbox" checked="checked" name="del_archive" /></label>
50       </td>
51     </tr>
52     <tr class='impair'>
53       <td class="center">
54         <input type="submit" value="Détruire !" />
55       </td>
56     </tr>
57   </table>
58 </form>
59
60 {/if}
61
62
63 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}