X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Fform.tpl;h=b5e9bcb6209024286ef1ce2cb23165544c857fa5;hb=fc34b3d17fdbc520ddc88f57b9b1eb9dbab0013a;hp=418b1dea43207b85cddb2d2ab27b3a98073ade46;hpb=02838718a24585bf72f3e4c26a8e4f1d19817dc9;p=platal.git diff --git a/templates/events/form.tpl b/templates/events/form.tpl index 418b1de..b5e9bcb 100644 --- a/templates/events/form.tpl +++ b/templates/events/form.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2011 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.expiration} +{assign var=expiration value=$smarty.request.expiration|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. + @@ -90,20 +121,20 @@ {if $eid && $img}
Image actuelle
- Image actuelle
+ Image actuelle
{/if} {if $upload && $upload->exists()}
Nouvelle image
- Nouvelle Image
+ Nouvelle Image
{/if}
- Choisir un fichier :
- Indiquer une adresse : + Choisir un fichier :
+ Indiquer une adresse :
@@ -119,73 +150,19 @@ N'oublie pas de remplir les informations suivantes :

- - - - - - - - - - - - - + {include file="include/field.promo.tpl"} @@ -193,9 +170,7 @@ Dernier jour d'affichage {if $admin_evts} @@ -204,7 +179,8 @@ Importance {/if}
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="expiration" value=$expiration to=60}
- Marquer cette annonce comme très importante +