From: Florent Bruneau Date: Tue, 23 Oct 2007 19:14:31 +0000 (+0200) Subject: Fix double html_entities in event admin form X-Git-Tag: xorg/0.9.15~19 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=f47899d232c8970493cfecc528750adea68fdb9c;p=platal.git Fix double html_entities in event admin form Signed-off-by: Florent Bruneau --- diff --git a/templates/events/form.tpl b/templates/events/form.tpl index 13afdaa..24aa19e 100644 --- a/templates/events/form.tpl +++ b/templates/events/form.tpl @@ -21,13 +21,23 @@ {**************************************************************************} {if $smarty.request.texte} -{assign var=texte value=$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.peremption} +{assign var=peremption value=$smarty.request.peremption|smarty:nodefaults} +{/if} +{if $smarty.request.important} +{assign var=important value=$smarty.request.important|smarty:nodefaults} {/if} -{assign var=titre value=$smarty.request.titre|default:$titre} -{assign var=promo_min value=$smarty.request.promo_min|default:$promo_min} -{assign var=promo_max value=$smarty.request.promo_max|default:$promo_max} -{assign var=peremption value=$smarty.request.peremption|default:$peremption} -{assign var=important value=$smarty.request.important|default:$important}