From 0ba71f30ebe85ce15ba257374689fb8e79ca529a Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Tue, 23 Oct 2007 21:14:31 +0200 Subject: [PATCH] Fix double html_entities in event admin form Signed-off-by: Florent Bruneau --- templates/events/form.tpl | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) 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}