[-] Core : fixed smarty escape htmlall > html
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
<td class="history_link bold">{l s='#' mod='loyalty'}{$order.id|string_format:"%06d"}</td>
|
||||
<td class="history_date">{dateFormat date=$order.date full=1}</td>
|
||||
<td class="history_method">{$order.points|intval}</td>
|
||||
<td class="history_method">{$order.state|escape:'htmlall':'UTF-8'}</td>
|
||||
<td class="history_method">{$order.state|escape:'html':'UTF-8'}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
@@ -81,9 +81,9 @@
|
||||
{/if}
|
||||
{section name=pagination start=$page-1 loop=$page+2 step=1}
|
||||
{if $page == $smarty.section.pagination.index}
|
||||
<li class="current"><span>{$page|escape:'htmlall':'UTF-8'}</span></li>
|
||||
<li class="current"><span>{$page|escape:'html':'UTF-8'}</span></li>
|
||||
{elseif $smarty.section.pagination.index > 0 && $orders|@count+$nbpagination > ($smarty.section.pagination.index)*($nbpagination)}
|
||||
<li><a href="{summarypaginationlink p=$smarty.section.pagination.index n=$nbpagination}">{$smarty.section.pagination.index|escape:'htmlall':'UTF-8'}</a></li>
|
||||
<li><a href="{summarypaginationlink p=$smarty.section.pagination.index n=$nbpagination}">{$smarty.section.pagination.index|escape:'html':'UTF-8'}</a></li>
|
||||
{/if}
|
||||
{/section}
|
||||
{if $max_page-$page > 1}
|
||||
@@ -108,7 +108,7 @@
|
||||
<select name="n" id="nb_item">
|
||||
{foreach from=$nArray item=nValue}
|
||||
{if $nValue <= $orders|@count}
|
||||
<option value="{$nValue|escape:'htmlall':'UTF-8'}" {if $nbpagination == $nValue}selected="selected"{/if}>{$nValue|escape:'htmlall':'UTF-8'}</option>
|
||||
<option value="{$nValue|escape:'html':'UTF-8'}" {if $nbpagination == $nValue}selected="selected"{/if}>{$nValue|escape:'html':'UTF-8'}</option>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</select>
|
||||
@@ -170,7 +170,7 @@
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
" data-original-title="{l s='Generated by these following orders' mod='loyalty'}" title="" data-toggle="popover" href="{$smarty.server.SCRIPT_NAME|escape:'htmlall':'UTF-8'}" data-original-title="">{l s='more...' mod='loyalty'}</a>
|
||||
" data-original-title="{l s='Generated by these following orders' mod='loyalty'}" title="" data-toggle="popover" href="{$smarty.server.SCRIPT_NAME|escape:'html':'UTF-8'}" data-original-title="">{l s='more...' mod='loyalty'}</a>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user