X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Fform.tpl;h=d0e183b476e5a4e280eff5e42e33cd622db1dc81;hb=0c8cd507ad27b70c20e9f056b77fc286ee88e04f;hp=b470837499e371ee44e6ebff1ec03bd920a9122f;hpb=4550539f94b3dce7ac285657fe73eea47f0a2246;p=platal.git diff --git a/templates/events/form.tpl b/templates/events/form.tpl index b470837..d0e183b 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.

- N'oublie pas de remplir suivantes : + N'oublie pas de remplir les informations suivantes :

@@ -99,26 +156,13 @@ - - - - - - - - + {include file="include/field.promo.tpl"} @@ -126,11 +170,20 @@ Dernier jour d'affichage + + {if $admin_evts} + + + + {/if}
- 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} +
+ Importance + +