3cc2efe1396093059d81794ccfd8c6b809aec4ab
[platal.git] / templates / include / form.evenement.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 <form action="{$smarty.server.PHP_SELF}" method="post">
25   <table class="bicol">
26     <tr>
27       <th colspan="2">Contenu du message</th>
28     </tr>
29     <tr>
30       <td><strong>Titre</strong></td>
31       <td>
32         <input type="text" name="titre" size="50" maxlength="200" value="{$titre}" />
33       </td>
34     </tr>
35     <tr>
36       <td><strong>Texte</strong></td>
37       <td><textarea name="texte" rows="10" cols="60">{$texte}</textarea></td>
38     </tr>
39   </table>
40
41   <table class="bicol">
42     <tr>
43       <th colspan="2">Informations complémentaires</th>
44     </tr>
45     <tr>
46       <td>
47         <strong>Promo min *</strong> (incluse)
48       </td>
49       <td>
50         <input type="text" name="promo_min" size="4" maxlength="4" value="{$promo_min}" />
51         &nbsp;<em>0 signifie pas de minimum</em>
52       </td>
53     </tr>
54     <tr>
55       <td>
56         <strong>Promo max *</strong> (incluse)
57       </td>
58       <td>
59         <input type="text" name="promo_max" size="4" maxlength="4" value="{$promo_max}" />
60         &nbsp;<em>0 signifie pas de maximum</em>
61       </td>
62     </tr>
63     <tr>
64       <td colspan="2">
65         * sert à limiter l'affichage de l'annonce aux camarades appartenant à certaines promos seulement.
66       </td>
67     </tr>
68     <tr>
69       <td>
70         <strong>Dernier jour d'affichage</strong>
71       </td>
72       <td>
73         <select name="peremption">
74           {$select|smarty:nodefaults}
75         </select>
76       </td>
77     </tr>
78   </table>
79
80   <div class="center">
81     <input type="hidden" name="evt_id" value="{$smarty.post.evt_id}" />
82     <input type="submit" name="action" value="Proposer" />
83   </div>
84
85 </form>
86
87 {* vim:set et sw=2 sts=2 sws=2: *}