Adds labels around checkbox and radio inputs.
[platal.git] / templates / lists / delete.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2008 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   {xsrf_token_field}
45   <table class='tinybicol' cellpadding='2' cellspacing='0'>
46     <tr class='impair'>
47       <td>
48         Veux tu réellement détruire la liste {$details.addr}&nbsp;?<br />
49         Pour valider ton choix, écris en majuscules (sans espace) « OUI »&nbsp;:
50         <input type='text' size='3' maxlength='3' name="valid" />
51       </td>
52     </tr>
53     <tr class='pair'>
54       <td>
55         <label>Si tu veux préserver les archives de la liste, décoche la case ci-contre.
56         <input type="checkbox" checked="checked" name="del_archive" /></label>
57       </td>
58     </tr>
59     <tr class='impair'>
60       <td class="center">
61         <input type="submit" value="Détruire !" />
62       </td>
63     </tr>
64   </table>
65 </form>
66
67 {/if}
68
69
70 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}