{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2009 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{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}
{if $eid && $img}
<div style="float: left; text-align: center">
<em>Image actuelle</em><br />
- <img src="events/photo/{$eid}" alt="Image actuelle" /><br />
+ <img src="events/photo/{$eid}?{$smarty.now}" alt="Image actuelle" /><br />
<input type="submit" name="action" value="Pas d'image" />
</div>
{/if}
{if $upload && $upload->exists()}
<div style="float: right; text-align: center">
<em>Nouvelle image</em><br />
- <img src="events/photo" alt="Nouvelle Image" /><br />
+ <img src="events/photo?{$smarty.now}" alt="Nouvelle Image" /><br />
<input type="submit" name="action" value="Supprimer l'image" />
</div>
{/if}
Dernier jour d'affichage
</td>
<td>
- {valid_date name="peremption" value=$peremption to=60}
+ {valid_date name="expiration" value=$expiration to=60}
</td>
</tr>
{if $admin_evts}