// small fix

This commit is contained in:
Rémi Gaillard
2013-07-22 11:54:35 +02:00
parent 32c02bba5f
commit d79365fe4d
@@ -35,7 +35,7 @@
{/block} {/block}
{block name=leadin} {block name=leadin}
{if isset($delete_customer) && $delete_customer} {if isset($delete_customer) && $delete_customer}
<form action="{$REQUEST_URI}" method="post"> <form action="{$REQUEST_URI|escape:'htmlall':'UTF-8'}" method="post">
<div class="warn"> <div class="warn">
<h2>{l s='How do you want to delete these customer(s)?'}</h2> <h2>{l s='How do you want to delete these customer(s)?'}</h2>
<p>{l s='There are two ways of deleting a customer. Please choose your preferred method.'}</p> <p>{l s='There are two ways of deleting a customer. Please choose your preferred method.'}</p>
@@ -52,10 +52,10 @@
{foreach $POST as $key => $value} {foreach $POST as $key => $value}
{if is_array($value)} {if is_array($value)}
{foreach $value as $val} {foreach $value as $val}
<input type="hidden" name="{$key}[]" value="{$val}" /> <input type="hidden" name="{$key|escape:'htmlall':'UTF-8'}[]" value="{$val|escape:'htmlall':'UTF-8'}" />
{/foreach} {/foreach}
{else} {else}
<input type="hidden" name="{$key}" value="{$value}" /> <input type="hidden" name="{$key|escape:'htmlall':'UTF-8'}" value="{$value|escape:'htmlall':'UTF-8'}" />
{/if} {/if}
{/foreach} {/foreach}
<br /><input type="submit" class="button" value="{l s='Delete'}" /> <br /><input type="submit" class="button" value="{l s='Delete'}" />