X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Fform.tpl;h=a1e1dc5876f129124fa34fde3833aa2cba25949e;hb=4fad11800bb571cc996ca8291adb617d5da42098;hp=9d7485df8efda6870dcd8ad6b5b15e909854aaa9;hpb=46395fb8f3c53339b0a6b2abdd6d30568b47a010;p=platal.git diff --git a/templates/events/form.tpl b/templates/events/form.tpl index 9d7485d..a1e1dc5 100644 --- a/templates/events/form.tpl +++ b/templates/events/form.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2010 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. + @@ -100,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 :
@@ -129,73 +150,19 @@ N'oublie pas de remplir les informations suivantes :

- - - - - - - - - - - - - + {include file="include/field.promo.tpl"} @@ -203,7 +170,7 @@ Dernier jour d'affichage {if $admin_evts} @@ -212,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="peremption" value=$peremption} + {valid_date name="expiration" value=$expiration to=60}
- Marquer cette annonce comme très importante +