Happy New Year!
[platal.git] / templates / lists / soptions.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
c441aabe 3{* Copyright (C) 2003-2014 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
3eb25eb3 24{include file="lists/header_listes.tpl" on=soptions}
0337d704 25
26<h1>
27 Changer les options de la liste {$details.addr}
28</h1>
29
d1ebc57a 30<form method='post' action='{$platal->pl_self(1)}'>
2669eb7d 31 {xsrf_token_field}
0337d704 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>
e8439508 36 <strong>msg_header&nbsp;:</strong><br />
a7de4ef7 37 <span class='smaller'>ajouté au début de tous les messages.</span>
0337d704 38 </td>
39 <td>
ecda52bf 40 <textarea cols='40' rows='8' name='msg_header'>{$options.msg_header|smarty:nodefaults|utf8_encode}</textarea>
0337d704 41 </td>
42 </tr>
43 <tr class='impair'>
44 <td>
e8439508 45 <strong>msg_footer&nbsp;:</strong><br />
a7de4ef7 46 <span class='smaller'>ajouté à la fin de tous les messages.</span>
0337d704 47 </td>
48 <td>
ecda52bf 49 <textarea cols='40' rows='8' name='msg_footer'>{$options.msg_footer|smarty:nodefaults|utf8_encode}</textarea>
0337d704 50 </td>
51 </tr>
a7de4ef7 52 <tr><th colspan='2'>Options avancées de la liste {$details.addr}</th></tr>
0337d704 53 <tr class='impair'>
54 <td>
e8439508 55 <strong>visibilité&nbsp;:</strong><br />
38421eaa
SJ
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>
0337d704 58 </td>
59 <td>
a44f405e
SJ
60 <label><input type='checkbox' name='advertised' {if $options.advertised}checked='checked'{/if} />
61 publique</label>
0337d704 62 </td>
63 </tr>
64 <tr class='pair'>
65 <td>
e8439508 66 <strong>archive&nbsp;:</strong><br />
6bb2f79a 67 <span class='smaller'>liste archivée&nbsp;?</span>
0337d704 68 </td>
69 <td>
a44f405e
SJ
70 <label><input type='checkbox' name='archive' {if $options.archive}checked='checked'{/if} />
71 liste archivée</label>
0337d704 72 </td>
73 </tr>
74 <tr class='impair'>
75 <td>
e8439508 76 <strong>max_message_size&nbsp;:</strong><br />
38421eaa 77 <span class='smaller'>taille maximale des posts en Ko.</span>
0337d704 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
a7de4ef7 92{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}