Merge commit 'origin/master' into hruid
[platal.git] / templates / lists / delete.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
179afa7f 3{* Copyright (C) 2003-2008 Polytechnique.org *}
0337d704 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
7b2413f6 26<p>[<a href='{$platal->ns}lists'>Voir toutes les listes</a>]</p>
a7de4ef7 27<p class="erreur">La liste a été détruite !</p>
0337d704 28
29{else}
30
31{if !$details.own}
32<p class='erreur'>
33Tu n'es pas administrateur de la liste, mais du site.
34</p>
35{/if}
36
3eb25eb3 37{include file="lists/header_listes.tpl" on=delete}
0337d704 38
39<h1>
a7de4ef7 40 Détruire la liste {$details.addr} ?
0337d704 41</h1>
42
d1ebc57a 43<form method='post' action='{$platal->pl_self(1)}'>
2669eb7d 44 {xsrf_token_field}
0337d704 45 <table class='tinybicol' cellpadding='2' cellspacing='0'>
46 <tr class='impair'>
47 <td>
38421eaa 48 Veux tu réellement détruire la liste {$details.addr}&nbsp;?<br />
e8439508 49 Pour valider ton choix, écris en majuscules (sans espace) « OUI »&nbsp;:
0337d704 50 <input type='text' size='3' maxlength='3' name="valid" />
51 </td>
52 </tr>
53 <tr class='pair'>
54 <td>
a44f405e
SJ
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>
0337d704 57 </td>
58 </tr>
59 <tr class='impair'>
60 <td class="center">
a7de4ef7 61 <input type="submit" value="Détruire !" />
0337d704 62 </td>
63 </tr>
64 </table>
65</form>
66
67{/if}
68
69
a7de4ef7 70{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}