first reimport from platal
[platal.git] / templates / listes / soptions.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2004 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="listes/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='{$smarty.server.REQUEST_URI}'>
31   <table class='bicol' cellpadding='2' cellspacing='0'>
32     <tr><th colspan='2'>Options de la liste {$details.addr}</th></tr>
33     <tr class='impair'>
34       <td>
35         <strong>msg_header :</strong><br />
36         <span class='smaller'>ajouté au début de tous les messages.</span>
37       </td>
38       <td>
39         <textarea cols='40' rows='8' name='msg_header'>{$options.msg_header}</textarea>
40       </td>
41     </tr>
42     <tr class='impair'>
43       <td>
44         <strong>msg_footer :</strong><br />
45         <span class='smaller'>ajouté à la fin de tous les messages.</span>
46       </td>
47       <td>
48         <textarea cols='40' rows='8' name='msg_footer'>{$options.msg_footer}</textarea>
49       </td>
50     </tr>
51     <tr><th colspan='2'>Options avancées de la liste {$details.addr}</th></tr>
52     <tr class='impair'>
53       <td>
54         <strong>visibilité :</strong><br />
55         <span class='smaller'>si coché, la liste sera listée dans listes/index.php.
56           (les listes d'admin doivent être décochées)</span>
57       </td>
58       <td>
59         <input type='checkbox' name='advertised' {if $options.advertised}checked='checked'{/if} />
60         publique
61       </td>
62     </tr>
63     <tr class='pair'>
64       <td>
65         <strong>archive :</strong><br />
66         <span class='smaller'>Liste archivée ?</span>
67       </td>
68       <td>
69         <input type='checkbox' name='archive' {if $options.archive}checked='checked'{/if} />
70         liste archivée
71       </td>
72     </tr>
73     <tr class='impair'>
74       <td>
75         <strong>max_message_size :</strong><br />
76         <span class='smaller'>Taille maximale des posts en Ko:</span>
77       </td>
78       <td>
79         <input type='text' name='max_message_size' value='{$options.max_message_size}' /> Ko
80       </td>
81     </tr>
82   </table>
83
84   <div class='center'>
85     <br />
86     <input type='submit' name='submit' value='Valider les modifications' />
87   </div>
88 </form>
89
90
91 {* vim:set et sw=2 sts=2 sws=2: *}