1 {**************************************************************************}
3 {* Copyright (C) 2003-2004 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
25 Proposition d'information événementielle
29 {if $action eq "proposer"}
37 <th>{$titre|nl2br}</th>
40 <td>{$texte|nl2br}</td>
45 Ce message est à destination
46 {if $promo_min || $promo_max}
47 des promotions {if $promo_min}X{$promo_min}{/if} {if $promo_max}jusqu'à X{$promo_max}{else}et plus{/if}
49 de toutes les promotions
51 et sera affiché sur la page d'accueil jusqu'au {$peremption|date_format}
54 {if $validation_message}
56 Tu as ajouté le message suivant à l'intention du validateur : {$validation_message|nl2br}
60 <form action="{$smarty.request.PHP_SELF}" method="post">
62 <input type="hidden" name="titre" value="{$titre}" />
63 <input type="hidden" name="texte" value="{$texte}" />
64 <input type="hidden" name="promo_min" value="{$promo_min}" />
65 <input type="hidden" name="promo_max" value="{$promo_max}" />
66 <input type="hidden" name="peremption" value="{$peremption}" />
67 <input type="hidden" name="validation_message" value="{$validation_message}" />
68 <input type="submit" name="action" value="Confirmer" />
69 <input type="submit" name="action" value="Modifier" />
74 {elseif $action eq "confirmer"}
78 Ta proposition a bien été enregistrée, un administrateur va se charger de la valider aussi rapidement que possible.
81 Merci pour ta contribution à la vie du site!
84 <a href="login.php">Retour à la page d'accueil</a>
88 Une erreur s'est produite pendant l'enregistrement de ta proposition. Merci de nous <a href="contacts.php">contacter</a>!
94 {include file="include/form.evenement.tpl"}
99 {* vim:set et sw=2 sts=2 sws=2: *}