Convert source code to UTF-8
[platal.git] / templates / events / submit.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5ddeb07c 3{* Copyright (C) 2003-2007 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
a7de4ef7 23<h1>Proposition d'information événementielle</h1>
0337d704 24
1970c12b 25{if $action eq "proposer" && trim($titre) && trim($texte)}
0337d704 26
27<p>
28Voici ton annonce :
29</p>
30
31<table class="bicol">
74e0093f 32 <tr><th>{$titre|nl2br}</th></tr>
edd50750 33 <tr><td>{$texte_html|nl2br|smarty:nodefaults}</td></tr>
0337d704 34</table>
35
36<p>
a7de4ef7 37Ce message est à destination
0337d704 38{if $promo_min || $promo_max}
a7de4ef7 39des promotions {if $promo_min}X{$promo_min}{/if} {if $promo_max}jusqu'à X{$promo_max}{else} et plus{/if}
0337d704 40{else}
41de toutes les promotions
42{/if}
a7de4ef7 43et sera affiché sur la page d'accueil jusqu'au {$peremption|date_format}.
0337d704 44</p>
45
74e0093f 46{if $valid_mesg}
0337d704 47<p>
a7de4ef7 48Tu 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>
a7de4ef7 70Ta proposition a bien été enregistrée, un administrateur va se charger de la valider aussi rapidement que possible.
0337d704 71</p>
72<p>
a7de4ef7 73Merci pour ta contribution à la vie du site!
0337d704 74</p>
75<p>
a7de4ef7 76<a href="events">Retour à la page d'accueil</a>
0337d704 77</p>
78{else}
79<p class="erreur">
74e0093f 80Une erreur s'est produite pendant l'enregistrement de ta proposition.
db9c3838 81Merci de nous <a href="Xorg/NousContacter">contacter</a>!
0337d704 82</p>
83{/if}
84
85{else}
86
87{include file="include/form.evenement.tpl"}
88
89{/if}
90
91
a7de4ef7 92{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}