X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Fform.tpl;h=13afdaa72a4cfba65edd70437d04a8d7389a1ddc;hb=794feea76e0979eba4e125bb91b7ea43680f26e0;hp=5a22651ab84ef3b484fb8466d1c9ba51d67ffed6;hpb=9ed396c06e661970436bcd81ecc4d758fa647ce0;p=platal.git diff --git a/templates/events/form.tpl b/templates/events/form.tpl index 5a22651..13afdaa 100644 --- a/templates/events/form.tpl +++ b/templates/events/form.tpl @@ -20,10 +20,22 @@ {* *} {**************************************************************************} +{if $smarty.request.texte} +{assign var=texte value=$smarty.request.texte} +{/if} +{assign var=titre value=$smarty.request.titre|default:$titre} +{assign var=promo_min value=$smarty.request.promo_min|default:$promo_min} +{assign var=promo_max value=$smarty.request.promo_max|default:$promo_max} +{assign var=peremption value=$smarty.request.peremption|default:$peremption} +{assign var=important value=$smarty.request.important|default:$important} + Essaie de faire un texte court, une annonce ne doit pas excéder 800 caractères soit une douzaine de ligne. Tu en es déjà à caractères. + + + + + Illustration + + {if $eid && $img} +
+ Image actuelle
+ Image actuelle
+ +
+ {/if} + {if $upload && $upload->exists()} +
+ Nouvelle image
+ Nouvelle Image
+ +
+ {/if} +
+ Choisir un fichier :
+ Indiquer une adresse : +
- +

Le bouton de confirmation n'apparaît que si l'aperçu est concluant. @@ -93,40 +139,6 @@ N'oublie pas de remplir les informations suivantes :

- - @@ -136,27 +148,7 @@ Tu peux limiter la visibilité de ton annonce aux camarades de certaines promotions : - - - - - - - - - - - + {include file="include/field.promo.tpl"} {if $admin_evts}
Informations complémentaires
Promotion la plus ancienne - incluse -  (ex : 1980, 0 signifie pas de minimum) -
Promotion la plus jeune - incluse -  (ex : 2000, 0 signifie pas de maximum) -
- -
Choisis la date d'expiration de ton annonce : @@ -167,9 +159,7 @@ Dernier jour d'affichage - + {valid_date name="peremption" value=$peremption to=60}