X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Fform.tpl;h=93c83a0219d6010868324f76d6c5e96755e2d6df;hb=7b642046b0dbaf122f12beeb565879f3b3dd8171;hp=5a22651ab84ef3b484fb8466d1c9ba51d67ffed6;hpb=9ed396c06e661970436bcd81ecc4d758fa647ce0;p=platal.git diff --git a/templates/events/form.tpl b/templates/events/form.tpl index 5a22651..93c83a0 100644 --- a/templates/events/form.tpl +++ b/templates/events/form.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,10 +20,32 @@ {* *} {**************************************************************************} +{if $smarty.request.texte} +{assign var=texte value=$smarty.request.texte|smarty:nodefaults} +{/if} +{if $smarty.request.titre} +{assign var=titre value=$smarty.request.titre|smarty:nodefaults} +{/if} +{if $smarty.request.promo_min} +{assign var=promo_min value=$smarty.request.promo_min|smarty:nodefaults} +{/if} +{if $smarty.request.promo_max} +{assign var=promo_max value=$smarty.request.promo_max|smarty:nodefaults} +{/if} +{if $smarty.request.peremption} +{assign var=peremption value=$smarty.request.peremption|smarty:nodefaults} +{/if} +{if $smarty.request.important} +{assign var=important value=$smarty.request.important|smarty:nodefaults} +{/if} + 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,73 +150,19 @@ N'oublie pas de remplir les informations suivantes :

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