projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adapts Xorg MLs and aliases handling to new mail chain.
[platal.git]
/
templates
/
events
/
form.tpl
diff --git
a/templates/events/form.tpl
b/templates/events/form.tpl
index
cbd8501
..
6f7aa84
100644
(file)
--- a/
templates/events/form.tpl
+++ b/
templates/events/form.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-201
0
Polytechnique.org *}
+{* Copyright (C) 2003-201
1
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* 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.promo_max}
{assign var=promo_max value=$smarty.request.promo_max|smarty:nodefaults}
{/if}
-{if $smarty.request.
peremp
tion}
-{assign var=
peremption value=$smarty.request.peremp
tion|smarty:nodefaults}
+{if $smarty.request.
expira
tion}
+{assign var=
expiration value=$smarty.request.expira
tion|smarty:nodefaults}
{/if}
{if $smarty.request.important}
{assign var=important value=$smarty.request.important|smarty:nodefaults}
{/if}
{if $smarty.request.important}
{assign var=important value=$smarty.request.important|smarty:nodefaults}
@@
-57,12
+57,7
@@
document.getElementById('info').style.display = 'none';
}
var page = 'events/preview?titre=' + encodeURIComponent(titre) + '&texte=' + encodeURIComponent(texte);
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}
return false;
}
{/literal}
@@
-170,7
+165,7
@@
Dernier jour d'affichage
</td>
<td>
Dernier jour d'affichage
</td>
<td>
- {valid_date name="
peremption" value=$peremp
tion to=60}
+ {valid_date name="
expiration" value=$expira
tion to=60}
</td>
</tr>
{if $admin_evts}
</td>
</tr>
{if $admin_evts}