X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Fform.tpl;h=d0e183b476e5a4e280eff5e42e33cd622db1dc81;hb=55d55de87a79b7a703be4ef2b6295a1277ad9875;hp=8411cfcf220eff3fdc59e92362dcf21dff7de193;hpb=05cb05c0bceb85d3f5d6c078403e73e8c9995325;p=platal.git diff --git a/templates/events/form.tpl b/templates/events/form.tpl index 8411cfc..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,6 +20,25 @@ {* *} {**************************************************************************} +{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. + @@ -112,8 +133,8 @@ {/if}
- Choisir un fichier :
- Indiquer une adresse : + Choisir un fichier :
+ Indiquer une adresse :
@@ -135,13 +156,13 @@ - Tu peux limiter la visibilité de ton annonce aux camarades de certaines promotions : + Tu peux limiter la visibilité de ton annonce aux camarades de certaines promotions : {include file="include/field.promo.tpl"} - Choisis la date d'expiration de ton annonce : + Choisis la date d'expiration de ton annonce : @@ -149,7 +170,7 @@ Dernier jour d'affichage - {valid_date name="peremption" value=$peremption} + {valid_date name="peremption" value=$peremption to=60} {if $admin_evts} @@ -158,7 +179,8 @@ Importance - Marquer cette annonce comme très importante + {/if}