{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2010 Polytechnique.org *}
+{* Copyright (C) 2003-2011 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}
document.getElementById('info').style.display = 'none';
}
var page = 'events/preview?titre=' + encodeURIComponent(titre) + '&texte=' + encodeURIComponent(texte);
- if (is_IE) {
- {/literal}
- page = "{$globals->baseurl}/" + page;
- {literal}
- }
- Ajax.update_html('preview', page, null);
+ $('#preview').updateHtml(page);
return false;
}
{/literal}
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}