X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Fform.tpl;h=e8df5f0c33bf131413dd51b4171c54f3c491844d;hb=063410c8fefc9ba93e0ff98edeea0a020f210f0c;hp=5a224d07c851f01650f8c2fc83c579df95be7482;hpb=08fa70684fd1332178cddb6b318151335fb4506c;p=platal.git diff --git a/templates/events/form.tpl b/templates/events/form.tpl index 5a224d0..e8df5f0 100644 --- a/templates/events/form.tpl +++ b/templates/events/form.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -32,8 +32,8 @@ {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 $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} @@ -62,7 +62,7 @@ page = "{$globals->baseurl}/" + page; {literal} } - Ajax.update_html('preview', page, null); + $('#preview').updateHtml(page); return false; } {/literal} @@ -74,6 +74,7 @@
+ {xsrf_token_field} @@ -120,14 +121,14 @@ {if $eid && $img}
Image actuelle
- Image actuelle
+ Image actuelle
{/if} {if $upload && $upload->exists()}
Nouvelle image
- Nouvelle Image
+ Nouvelle Image
{/if} @@ -169,7 +170,7 @@ Dernier jour d'affichage {if $admin_evts} @@ -178,7 +179,8 @@ Importance {/if}
Contenu de l'annonce - {valid_date name="peremption" value=$peremption to=60} + {valid_date name="expiration" value=$expiration to=60}
- Marquer cette annonce comme très importante +