966016427b9135631fcf859d403c794c302a30c1
[platal.git] / templates / lists / soptions.tpl
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
24 {include file="lists/header_listes.tpl" on=soptions}
25
26 <h1>
27   Changer les options de la liste {$details.addr}
28 </h1>
29
30 <form method='post' action='{$platal->pl_self(1)}'>
31   {xsrf_token_field}
32   <table class='bicol' cellpadding='2' cellspacing='0'>
33     <tr><th colspan='2'>Options de la liste {$details.addr}</th></tr>
34     <tr class='impair'>
35       <td>
36         <strong>msg_header&nbsp;:</strong><br />
37         <span class='smaller'>ajouté au début de tous les messages.</span>
38       </td>
39       <td>
40         <textarea cols='40' rows='8' name='msg_header'>{$options.msg_header|smarty:nodefaults|utf8_encode}</textarea>
41       </td>
42     </tr>
43     <tr class='impair'>
44       <td>
45         <strong>msg_footer&nbsp;:</strong><br />
46         <span class='smaller'>ajouté à la fin de tous les messages.</span>
47       </td>
48       <td>
49         <textarea cols='40' rows='8' name='msg_footer'>{$options.msg_footer|smarty:nodefaults|utf8_encode}</textarea>
50       </td>
51     </tr>
52     <tr><th colspan='2'>Options avancées de la liste {$details.addr}</th></tr>
53     <tr class='impair'>
54       <td>
55         <strong>visibilité&nbsp;:</strong><br />
56         <span class='smaller'>si coché, la liste sera listée dans la page de l'ensemble des listes
57           (les listes d'admin doivent être décochées).</span>
58       </td>
59       <td>
60         <label><input type='checkbox' name='advertised' {if $options.advertised}checked='checked'{/if} />
61         publique</label>
62       </td>
63     </tr>
64     <tr class='pair'>
65       <td>
66         <strong>archive&nbsp;:</strong><br />
67         <span class='smaller'>liste archivée&nbsp;?</span>
68       </td>
69       <td>
70         <label><input type='checkbox' name='archive' {if $options.archive}checked='checked'{/if} />
71         liste archivée</label>
72       </td>
73     </tr>
74     <tr class='impair'>
75       <td>
76         <strong>max_message_size&nbsp;:</strong><br />
77         <span class='smaller'>taille maximale des posts en Ko.</span>
78       </td>
79       <td>
80         <input type='text' name='max_message_size' value='{$options.max_message_size}' /> Ko
81       </td>
82     </tr>
83   </table>
84
85   <div class='center'>
86     <br />
87     <input type='submit' name='submit' value='Valider les modifications' />
88   </div>
89 </form>
90
91
92 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}