0337d704 |
1 | {**************************************************************************} |
2 | {* *} |
50a40a33 |
3 | {* Copyright (C) 2003-2006 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 | |
74e0093f |
23 | <h1>Proposition d'information événementielle</h1> |
0337d704 |
24 | |
25 | {if $action eq "proposer"} |
26 | |
27 | <p> |
28 | Voici ton annonce : |
29 | </p> |
30 | |
31 | <table class="bicol"> |
74e0093f |
32 | <tr><th>{$titre|nl2br}</th></tr> |
33 | <tr><td>{$texte|nl2br}</td></tr> |
0337d704 |
34 | </table> |
35 | |
36 | <p> |
37 | Ce message est à destination |
38 | {if $promo_min || $promo_max} |
39 | des promotions {if $promo_min}X{$promo_min}{/if} {if $promo_max}jusqu'à X{$promo_max}{else}et plus{/if} |
40 | {else} |
41 | de toutes les promotions |
42 | {/if} |
43 | et sera affiché sur la page d'accueil jusqu'au {$peremption|date_format} |
44 | </p> |
45 | |
74e0093f |
46 | {if $valid_mesg} |
0337d704 |
47 | <p> |
74e0093f |
48 | Tu as ajouté le message suivant à l'intention du validateur : {$valid_mesg|nl2br} |
0337d704 |
49 | </p> |
50 | {/if} |
51 | |
7b2413f6 |
52 | <form action="events/submit" method="post"> |
0337d704 |
53 | <div> |
74e0093f |
54 | <input type="hidden" name="titre" value="{$titre}" /> |
55 | <input type="hidden" name="texte" value="{$texte}" /> |
56 | <input type="hidden" name="promo_min" value="{$promo_min}" /> |
57 | <input type="hidden" name="promo_max" value="{$promo_max}" /> |
0337d704 |
58 | <input type="hidden" name="peremption" value="{$peremption}" /> |
74e0093f |
59 | <input type="hidden" name="valid_mesg" value="{$valid_mesg}" /> |
60 | <input type="submit" name="action" value="Confirmer" /> |
61 | <input type="submit" name="action" value="Modifier" /> |
0337d704 |
62 | </div> |
63 | </form> |
64 | |
65 | |
66 | {elseif $action eq "confirmer"} |
67 | |
68 | {if $ok} |
69 | <p> |
70 | Ta proposition a bien été enregistrée, un administrateur va se charger de la valider aussi rapidement que possible. |
71 | </p> |
72 | <p> |
73 | Merci pour ta contribution à la vie du site! |
74 | </p> |
75 | <p> |
7b2413f6 |
76 | <a href="events">Retour à la page d'accueil</a> |
0337d704 |
77 | </p> |
78 | {else} |
79 | <p class="erreur"> |
74e0093f |
80 | Une erreur s'est produite pendant l'enregistrement de ta proposition. |
7b2413f6 |
81 | Merci de nous <a href="Docs/NousContacter">contacter</a>! |
0337d704 |
82 | </p> |
83 | {/if} |
84 | |
85 | {else} |
86 | |
87 | {include file="include/form.evenement.tpl"} |
88 | |
89 | {/if} |
90 | |
91 | |
92 | {* vim:set et sw=2 sts=2 sws=2: *} |